home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Information / Digests / CSMP Digest / volume 3 / csmp-digest-v3-053 < prev    next >
Mailbox/MIME Entity  |  1995-12-31  |  79.6 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ISO-8859 text, with CR line terminators default (weak)
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 4d |Received|-Date: M|
|00000010| 6f 6e 2c 20 35 20 53 65 | 70 20 31 39 39 34 20 31 |on, 5 Se|p 1994 1|
|00000020| 35 3a 32 38 3a 33 31 20 | 2b 30 32 30 30 0d 46 72 |5:28:31 |+0200.Fr|
|00000030| 6f 6d 3a 20 70 6f 74 74 | 69 65 72 40 63 6c 69 70 |om: pott|ier@clip|
|00000040| 70 65 72 2e 65 6e 73 2e | 66 72 20 28 46 72 61 6e |per.ens.|fr (Fran|
|00000050| 63 6f 69 73 20 50 6f 74 | 74 69 65 72 29 0d 53 75 |cois Pot|tier).Su|
|00000060| 62 6a 65 63 74 3a 20 63 | 73 6d 70 2d 64 69 67 65 |bject: c|smp-dige|
|00000070| 73 74 2d 76 33 2d 30 35 | 33 0d 54 6f 3a 20 63 73 |st-v3-05|3.To: cs|
|00000080| 6d 70 2d 64 69 67 65 73 | 74 40 65 6e 73 2e 66 72 |mp-diges|t@ens.fr|
|00000090| 0d 44 61 74 65 3a 20 4d | 6f 6e 2c 20 35 20 53 65 |.Date: M|on, 5 Se|
|000000a0| 70 20 31 39 39 34 20 31 | 35 3a 32 38 3a 32 35 20 |p 1994 1|5:28:25 |
|000000b0| 2b 30 32 30 30 20 28 4d | 45 54 20 44 53 54 29 0d |+0200 (M|ET DST).|
|000000c0| 58 2d 4d 61 69 6c 65 72 | 3a 20 45 4c 4d 20 5b 76 |X-Mailer|: ELM [v|
|000000d0| 65 72 73 69 6f 6e 20 32 | 2e 34 20 50 4c 32 33 5d |ersion 2|.4 PL23]|
|000000e0| 0d 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|000000f0| 2e 30 0d 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000100| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|00000110| 72 73 65 74 3d 49 53 4f | 2d 38 38 35 39 2d 31 0d |rset=ISO|-8859-1.|
|00000120| 43 6f 6e 74 65 6e 74 2d | 54 72 61 6e 73 66 65 72 |Content-|Transfer|
|00000130| 2d 45 6e 63 6f 64 69 6e | 67 3a 20 38 62 69 74 0d |-Encodin|g: 8bit.|
|00000140| 45 72 72 6f 72 73 2d 54 | 6f 3a 20 6c 69 73 74 6d |Errors-T|o: listm|
|00000150| 61 6e 40 65 6e 73 2e 66 | 72 0d 52 65 70 6c 79 2d |an@ens.f|r.Reply-|
|00000160| 54 6f 3a 20 70 6f 74 74 | 69 65 72 40 63 6c 69 70 |To: pott|ier@clip|
|00000170| 70 65 72 2e 65 6e 73 2e | 66 72 0d 58 2d 53 65 71 |per.ens.|fr.X-Seq|
|00000180| 75 65 6e 63 65 3a 20 35 | 38 0d 0d 2d 2d 2d 2d 2d |uence: 5|8..-----|
|00000190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000001a0| 41 72 63 68 69 76 65 2e | 73 69 74 09 32 4b 0d 41 |Archive.|sit.2K.A|
|000001b0| 72 63 68 69 76 65 2e 73 | 69 74 09 32 4b 0d 2d 2d |rchive.s|it.2K.--|
|000001c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001d0| 2d 2d 0d 0d 43 2e 53 2e | 4d 2e 50 2e 20 44 69 67 |--..C.S.|M.P. Dig|
|000001e0| 65 73 74 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |est | |
|000001f0| 4d 6f 6e 2c 20 30 35 20 | 53 65 70 20 39 34 20 20 |Mon, 05 |Sep 94 |
|00000200| 20 20 20 20 20 56 6f 6c | 75 6d 65 20 33 20 3a 20 | Vol|ume 3 : |
|00000210| 49 73 73 75 65 20 35 33 | 0d 20 0d 54 6f 64 61 79 |Issue 53|. .Today|
|00000220| 27 73 20 54 6f 70 69 63 | 73 3a 0d 20 0d 20 20 20 |'s Topic|s:. . |
|00000230| 20 20 20 20 20 41 20 72 | 65 61 6c 20 66 75 6e 6e | A r|eal funn|
|00000240| 79 20 73 74 6f 72 79 0d | 20 20 20 20 20 20 20 20 |y story.| |
|00000250| 41 70 70 6c 65 53 63 72 | 69 70 74 3a 20 65 76 65 |AppleScr|ipt: eve|
|00000260| 6e 74 20 74 69 6d 65 73 | 20 6f 75 74 0d 20 20 20 |nt times| out. |
|00000270| 20 20 20 20 20 43 2b 2b | 20 56 69 72 74 75 61 6c | C++| Virtual|
|00000280| 20 44 65 73 74 72 75 63 | 74 6f 72 20 51 0d 20 20 | Destruc|tor Q. |
|00000290| 20 20 20 20 20 20 45 6e | 75 6d 20 73 69 7a 65 20 | En|um size |
|000002a0| 2d 2d 20 77 68 61 74 27 | 73 20 74 68 65 20 4c 43 |-- what'|s the LC|
|000002b0| 44 3f 0d 20 20 20 20 20 | 20 20 20 46 6f 6c 6c 6f |D?. | Follo|
|000002c0| 77 75 70 20 6f 6e 20 27 | 53 61 66 65 20 53 61 76 |wup on '|Safe Sav|
|000002d0| 65 27 20 70 72 6f 62 6c | 65 6d 20 2d 20 73 74 69 |e' probl|em - sti|
|000002e0| 6c 6c 20 74 69 63 6b 69 | 6e 67 21 0d 20 20 20 20 |ll ticki|ng!. |
|000002f0| 20 20 20 20 4d 57 20 44 | 65 62 75 67 4e 65 77 20 | MW D|ebugNew |
|00000300| 54 69 70 0d 20 20 20 20 | 20 20 20 20 53 63 72 6f |Tip. | Scro|
|00000310| 6c 6c 62 61 72 73 20 69 | 6e 20 44 69 61 6c 6f 67 |llbars i|n Dialog|
|00000320| 73 3f 0d 20 20 20 20 20 | 20 20 20 53 68 6f 75 6c |s?. | Shoul|
|00000330| 64 20 6e 65 77 20 70 72 | 6f 67 72 61 6d 73 20 73 |d new pr|ograms s|
|00000340| 74 69 6c 6c 20 62 65 20 | 53 79 73 74 65 6d 20 36 |till be |System 6|
|00000350| 20 63 6f 6d 70 61 74 69 | 62 6c 65 3f 0d 20 20 20 | compati|ble?. |
|00000360| 20 20 20 20 20 54 68 65 | 20 53 79 73 74 65 6d 20 | The| System |
|00000370| 37 2e 35 20 54 68 69 6e | 6b 20 44 65 62 75 67 67 |7.5 Thin|k Debugg|
|00000380| 65 72 20 42 75 67 20 2d | 20 61 6e 64 20 66 69 78 |er Bug -| and fix|
|00000390| 21 0d 20 20 20 20 20 20 | 20 20 54 68 69 6e 6b 20 |!. | Think |
|000003a0| 44 65 62 75 67 67 65 72 | 20 26 20 49 4e 49 54 20 |Debugger| & INIT |
|000003b0| 73 6f 75 72 63 65 20 63 | 6f 64 65 0d 20 20 20 20 |source c|ode. |
|000003c0| 20 20 20 20 5b 51 5d 20 | 48 6f 77 20 74 6f 20 64 | [Q] |How to d|
|000003d0| 6f 20 6e 6f 6e 2d 62 79 | 70 61 73 73 61 62 6c 65 |o non-by|passable|
|000003e0| 20 49 4e 49 54 3f 0d 20 | 20 20 20 20 20 20 20 6d | INIT?. | m|
|000003f0| 61 6c 6c 6f 63 20 70 72 | 6f 62 6c 65 6d 20 69 6e |alloc pr|oblem in|
|00000400| 20 43 57 2d 34 0d 0d 0d | 0d 54 68 65 20 43 6f 6d | CW-4...|.The Com|
|00000410| 70 2e 53 79 73 2e 4d 61 | 63 2e 50 72 6f 67 72 61 |p.Sys.Ma|c.Progra|
|00000420| 6d 6d 65 72 20 44 69 67 | 65 73 74 20 69 73 20 6d |mmer Dig|est is m|
|00000430| 6f 64 65 72 61 74 65 64 | 20 62 79 20 46 72 61 6e |oderated| by Fran|
|00000440| 63 6f 69 73 20 50 6f 74 | 74 69 65 72 0d 28 70 6f |cois Pot|tier.(po|
|00000450| 74 74 69 65 72 40 63 6c | 69 70 70 65 72 2e 65 6e |ttier@cl|ipper.en|
|00000460| 73 2e 66 72 29 2e 0d 20 | 0d 54 68 65 20 64 69 67 |s.fr).. |.The dig|
|00000470| 65 73 74 20 69 73 20 61 | 20 63 6f 6c 6c 65 63 74 |est is a| collect|
|00000480| 69 6f 6e 20 6f 66 20 61 | 72 74 69 63 6c 65 20 74 |ion of a|rticle t|
|00000490| 68 72 65 61 64 73 20 66 | 72 6f 6d 20 74 68 65 20 |hreads f|rom the |
|000004a0| 69 6e 74 65 72 6e 65 74 | 20 6e 65 77 73 67 72 6f |internet| newsgro|
|000004b0| 75 70 0d 63 6f 6d 70 2e | 73 79 73 2e 6d 61 63 2e |up.comp.|sys.mac.|
|000004c0| 70 72 6f 67 72 61 6d 6d | 65 72 2e 20 20 49 74 20 |programm|er. It |
|000004d0| 69 73 20 64 65 73 69 67 | 6e 65 64 20 66 6f 72 20 |is desig|ned for |
|000004e0| 70 65 6f 70 6c 65 20 77 | 68 6f 20 72 65 61 64 20 |people w|ho read |
|000004f0| 63 2e 73 2e 6d 2e 70 2e | 20 73 65 6d 69 2d 0d 72 |c.s.m.p.| semi-.r|
|00000500| 65 67 75 6c 61 72 6c 79 | 20 61 6e 64 20 77 61 6e |egularly| and wan|
|00000510| 74 20 61 6e 20 61 72 63 | 68 69 76 65 20 6f 66 20 |t an arc|hive of |
|00000520| 74 68 65 20 64 69 73 63 | 75 73 73 69 6f 6e 73 2e |the disc|ussions.|
|00000530| 20 20 49 66 20 79 6f 75 | 20 64 6f 6e 27 74 20 6b | If you| don't k|
|00000540| 6e 6f 77 20 77 68 61 74 | 20 61 0d 6e 65 77 73 67 |now what| a.newsg|
|00000550| 72 6f 75 70 20 69 73 2c | 20 79 6f 75 20 70 72 6f |roup is,| you pro|
|00000560| 62 61 62 6c 79 20 64 6f | 6e 27 74 20 68 61 76 65 |bably do|n't have|
|00000570| 20 61 63 63 65 73 73 20 | 74 6f 20 69 74 2e 20 20 | access |to it. |
|00000580| 41 73 6b 20 79 6f 75 72 | 20 73 79 73 74 65 6d 73 |Ask your| systems|
|00000590| 0d 61 64 6d 69 6e 69 73 | 74 72 61 74 6f 72 28 73 |.adminis|trator(s|
|000005a0| 29 20 66 6f 72 20 64 65 | 74 61 69 6c 73 2e 20 20 |) for de|tails. |
|000005b0| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 68 61 76 |If you d|on't hav|
|000005c0| 65 20 61 63 63 65 73 73 | 20 74 6f 20 6e 65 77 73 |e access| to news|
|000005d0| 2c 20 79 6f 75 20 6d 61 | 79 0d 73 74 69 6c 6c 20 |, you ma|y.still |
|000005e0| 62 65 20 61 62 6c 65 20 | 74 6f 20 70 6f 73 74 20 |be able |to post |
|000005f0| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 68 65 20 |messages| to the |
|00000600| 67 72 6f 75 70 20 62 79 | 20 75 73 69 6e 67 20 61 |group by| using a|
|00000610| 20 6d 61 69 6c 20 73 65 | 72 76 65 72 20 6c 69 6b | mail se|rver lik|
|00000620| 65 0d 61 6e 6f 6e 2e 70 | 65 6e 65 74 2e 66 69 20 |e.anon.p|enet.fi |
|00000630| 28 6d 61 69 6c 20 68 65 | 6c 70 40 61 6e 6f 6e 2e |(mail he|lp@anon.|
|00000640| 70 65 6e 65 74 2e 66 69 | 20 66 6f 72 20 6d 6f 72 |penet.fi| for mor|
|00000650| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 29 2e 0d |e inform|ation)..|
|00000660| 20 0d 45 61 63 68 20 69 | 73 73 75 65 20 6f 66 20 | .Each i|ssue of |
|00000670| 74 68 65 20 64 69 67 65 | 73 74 20 63 6f 6e 74 61 |the dige|st conta|
|00000680| 69 6e 73 20 6f 6e 65 20 | 6f 72 20 6d 6f 72 65 20 |ins one |or more |
|00000690| 73 65 74 73 20 6f 66 20 | 61 72 74 69 63 6c 65 73 |sets of |articles|
|000006a0| 20 28 63 61 6c 6c 65 64 | 0d 74 68 72 65 61 64 73 | (called|.threads|
|000006b0| 29 2c 20 77 69 74 68 20 | 65 61 63 68 20 73 65 74 |), with |each set|
|000006c0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 74 | corresp|onding t|
|000006d0| 6f 20 61 20 27 64 69 73 | 63 75 73 73 69 6f 6e 27 |o a 'dis|cussion'|
|000006e0| 20 6f 66 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 | of a pa|rticular|
|000006f0| 0d 73 75 62 6a 65 63 74 | 2e 20 20 54 68 65 20 61 |.subject|. The a|
|00000700| 72 74 69 63 6c 65 73 20 | 61 72 65 20 6e 6f 74 20 |rticles |are not |
|00000710| 65 64 69 74 65 64 3b 20 | 61 6c 6c 20 61 72 74 69 |edited; |all arti|
|00000720| 63 6c 65 73 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |cles inc|luded in|
|00000730| 20 74 68 69 73 20 64 69 | 67 65 73 74 0d 61 72 65 | this di|gest.are|
|00000740| 20 69 6e 20 74 68 65 69 | 72 20 6f 72 69 67 69 6e | in thei|r origin|
|00000750| 61 6c 20 70 6f 73 74 65 | 64 20 66 6f 72 6d 20 28 |al poste|d form (|
|00000760| 61 73 20 72 65 63 65 69 | 76 65 64 20 62 79 20 6f |as recei|ved by o|
|00000770| 75 72 20 6e 65 77 73 20 | 73 65 72 76 65 72 20 61 |ur news |server a|
|00000780| 74 0d 6e 65 66 2e 65 6e | 73 2e 66 72 29 2e 20 20 |t.nef.en|s.fr). |
|00000790| 41 72 74 69 63 6c 65 20 | 74 68 72 65 61 64 73 20 |Article |threads |
|000007a0| 61 72 65 20 6e 6f 74 20 | 61 64 64 65 64 20 74 6f |are not |added to|
|000007b0| 20 74 68 65 20 64 69 67 | 65 73 74 20 75 6e 74 69 | the dig|est unti|
|000007c0| 6c 20 74 68 65 20 6c 61 | 73 74 0d 61 72 74 69 63 |l the la|st.artic|
|000007d0| 6c 65 20 61 64 64 65 64 | 20 74 6f 20 74 68 65 20 |le added| to the |
|000007e0| 74 68 72 65 61 64 20 69 | 73 20 61 74 20 6c 65 61 |thread i|s at lea|
|000007f0| 73 74 20 74 77 6f 20 77 | 65 65 6b 73 20 6f 6c 64 |st two w|eeks old|
|00000800| 20 28 74 68 69 73 20 69 | 73 20 74 6f 20 65 6e 73 | (this i|s to ens|
|00000810| 75 72 65 20 74 68 61 74 | 0d 74 68 65 20 74 68 72 |ure that|.the thr|
|00000820| 65 61 64 20 69 73 20 64 | 65 61 64 20 62 65 66 6f |ead is d|ead befo|
|00000830| 72 65 20 61 64 64 69 6e | 67 20 69 74 20 74 6f 20 |re addin|g it to |
|00000840| 74 68 65 20 64 69 67 65 | 73 74 29 2e 20 20 41 72 |the dige|st). Ar|
|00000850| 74 69 63 6c 65 20 74 68 | 72 65 61 64 73 20 74 68 |ticle th|reads th|
|00000860| 61 74 0d 63 6f 6e 73 69 | 73 74 20 6f 66 20 6f 6e |at.consi|st of on|
|00000870| 6c 79 20 6f 6e 65 20 6d | 65 73 73 61 67 65 20 61 |ly one m|essage a|
|00000880| 72 65 20 67 65 6e 65 72 | 61 6c 6c 79 20 6e 6f 74 |re gener|ally not|
|00000890| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 74 68 65 | include|d in the|
|000008a0| 20 64 69 67 65 73 74 2e | 0d 0d 54 68 65 20 64 69 | digest.|..The di|
|000008b0| 67 65 73 74 20 69 73 20 | 6f 66 66 69 63 69 61 6c |gest is |official|
|000008c0| 6c 79 20 64 69 73 74 72 | 69 62 75 74 65 64 20 62 |ly distr|ibuted b|
|000008d0| 79 20 74 77 6f 20 6d 65 | 61 6e 73 2c 20 62 79 20 |y two me|ans, by |
|000008e0| 65 6d 61 69 6c 20 61 6e | 64 20 66 74 70 2e 0d 0d |email an|d ftp...|
|000008f0| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 72 |If you w|ant to r|
|00000900| 65 63 65 69 76 65 20 74 | 68 65 20 64 69 67 65 73 |eceive t|he diges|
|00000910| 74 20 62 79 20 6d 61 69 | 6c 2c 20 73 65 6e 64 20 |t by mai|l, send |
|00000920| 65 6d 61 69 6c 20 74 6f | 20 6c 69 73 74 73 65 72 |email to| listser|
|00000930| 76 40 65 6e 73 2e 66 72 | 0d 77 69 74 68 20 6e 6f |v@ens.fr|.with no|
|00000940| 20 73 75 62 6a 65 63 74 | 20 61 6e 64 20 6f 6e 65 | subject| and one|
|00000950| 20 6f 66 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | of the |followin|
|00000960| 67 20 63 6f 6d 6d 61 6e | 64 73 20 61 73 20 62 6f |g comman|ds as bo|
|00000970| 64 79 3a 0d 20 20 20 20 | 68 65 6c 70 09 09 20 20 |dy:. |help.. |
|00000980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 65 | | Se|
|00000990| 6e 64 73 20 79 6f 75 20 | 61 20 73 75 6d 6d 61 72 |nds you |a summar|
|000009a0| 79 20 6f 66 20 63 6f 6d | 6d 61 6e 64 73 0d 20 20 |y of com|mands. |
|000009b0| 20 20 73 75 62 73 63 72 | 69 62 65 20 63 73 6d 70 | subscr|ibe csmp|
|000009c0| 2d 64 69 67 65 73 74 20 | 59 6f 75 72 20 4e 61 6d |-digest |Your Nam|
|000009d0| 65 09 41 64 64 73 20 79 | 6f 75 20 74 6f 20 74 68 |e.Adds y|ou to th|
|000009e0| 65 20 6d 61 69 6c 69 6e | 67 20 6c 69 73 74 0d 20 |e mailin|g list. |
|000009f0| 20 20 20 73 69 67 6e 6f | 66 66 20 63 73 6d 70 2d | signo|ff csmp-|
|00000a00| 64 69 67 65 73 74 09 09 | 09 52 65 6d 6f 76 65 73 |digest..|.Removes|
|00000a10| 20 79 6f 75 20 66 72 6f | 6d 20 74 68 65 20 6c 69 | you fro|m the li|
|00000a20| 73 74 0d 4f 6e 63 65 20 | 79 6f 75 20 68 61 76 65 |st.Once |you have|
|00000a30| 20 73 75 62 73 63 72 69 | 62 65 64 2c 20 79 6f 75 | subscri|bed, you|
|00000a40| 20 77 69 6c 6c 20 61 75 | 74 6f 6d 61 74 69 63 61 | will au|tomatica|
|00000a50| 6c 6c 79 20 72 65 63 65 | 69 76 65 20 65 61 63 68 |lly rece|ive each|
|00000a60| 20 6e 65 77 0d 69 73 73 | 75 65 20 61 73 20 69 74 | new.iss|ue as it|
|00000a70| 20 69 73 20 63 72 65 61 | 74 65 64 2e 0d 0d 54 68 | is crea|ted...Th|
|00000a80| 65 20 6f 66 66 69 63 69 | 61 6c 20 66 74 70 20 69 |e offici|al ftp i|
|00000a90| 6e 66 6f 20 69 73 20 2f | 2f 66 74 70 2e 64 61 72 |nfo is /|/ftp.dar|
|00000aa0| 74 6d 6f 75 74 68 2e 65 | 64 75 2f 70 75 62 2f 63 |tmouth.e|du/pub/c|
|00000ab0| 73 6d 70 2d 64 69 67 65 | 73 74 2e 0d 51 75 65 73 |smp-dige|st..Ques|
|00000ac0| 74 69 6f 6e 73 20 72 65 | 6c 61 74 65 64 20 74 6f |tions re|lated to|
|00000ad0| 20 74 68 65 20 66 74 70 | 20 73 69 74 65 20 73 68 | the ftp| site sh|
|00000ae0| 6f 75 6c 64 20 62 65 20 | 64 69 72 65 63 74 65 64 |ould be |directed|
|00000af0| 20 74 6f 0d 73 63 6f 74 | 74 2e 73 69 6c 76 65 72 | to.scot|t.silver|
|00000b00| 40 64 61 72 74 6d 6f 75 | 74 68 2e 65 64 75 2e 20 |@dartmou|th.edu. |
|00000b10| 43 75 72 72 65 6e 74 6c | 79 20 6e 6f 20 70 72 65 |Currentl|y no pre|
|00000b20| 76 69 6f 75 73 20 76 6f | 6c 75 6d 65 73 20 6f 66 |vious vo|lumes of|
|00000b30| 20 74 68 65 20 43 53 4d | 50 0d 64 69 67 65 73 74 | the CSM|P.digest|
|00000b40| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 20 74 | are ava|ilable t|
|00000b50| 68 65 72 65 2e 0d 0d 41 | 6c 73 6f 2c 20 74 68 65 |here...A|lso, the|
|00000b60| 20 64 69 67 65 73 74 73 | 20 61 72 65 20 61 76 61 | digests| are ava|
|00000b70| 69 6c 61 62 6c 65 20 74 | 6f 20 57 41 49 53 20 75 |ilable t|o WAIS u|
|00000b80| 73 65 72 73 2e 20 20 54 | 6f 20 73 65 61 72 63 68 |sers. T|o search|
|00000b90| 20 62 61 63 6b 20 69 73 | 73 75 65 73 0d 77 69 74 | back is|sues.wit|
|00000ba0| 68 20 57 41 49 53 2c 20 | 75 73 65 20 63 6f 6d 70 |h WAIS, |use comp|
|00000bb0| 2e 73 79 73 2e 6d 61 63 | 2e 70 72 6f 67 72 61 6d |.sys.mac|.program|
|00000bc0| 6d 65 72 2e 73 72 63 2e | 20 57 69 74 68 20 4d 6f |mer.src.| With Mo|
|00000bd0| 73 61 69 63 2c 20 75 73 | 65 0d 68 74 74 70 3a 2f |saic, us|e.http:/|
|00000be0| 2f 77 77 77 2e 77 61 69 | 73 2e 63 6f 6d 2f 77 61 |/www.wai|s.com/wa|
|00000bf0| 69 73 2d 64 62 73 2f 63 | 6f 6d 70 2e 73 79 73 2e |is-dbs/c|omp.sys.|
|00000c00| 6d 61 63 2e 70 72 6f 67 | 72 61 6d 6d 65 72 2e 68 |mac.prog|rammer.h|
|00000c10| 74 6d 6c 2e 0d 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tml....-|--------|
|00000c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00000c50| 3e 46 72 6f 6d 20 6e 69 | 63 6b 2b 40 70 69 74 74 |>From ni|ck+@pitt|
|00000c60| 2e 65 64 75 20 28 20 6e | 69 63 6b 2e 63 20 29 0d |.edu ( n|ick.c ).|
|00000c70| 53 75 62 6a 65 63 74 3a | 20 41 20 72 65 61 6c 20 |Subject:| A real |
|00000c80| 66 75 6e 6e 79 20 73 74 | 6f 72 79 0d 44 61 74 65 |funny st|ory.Date|
|00000c90| 3a 20 46 72 69 2c 20 31 | 39 20 41 75 67 20 39 34 |: Fri, 1|9 Aug 94|
|00000ca0| 20 32 31 3a 34 30 3a 30 | 34 20 47 4d 54 0d 4f 72 | 21:40:0|4 GMT.Or|
|00000cb0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 54 68 65 20 |ganizati|on: The |
|00000cc0| 50 69 74 74 2c 20 43 68 | 65 6d 69 73 74 72 79 0d |Pitt, Ch|emistry.|
|00000cd0| 0d 0d 46 6f 6c 6b 73 3a | 0d 0d 20 20 20 20 41 20 |..Folks:|.. A |
|00000ce0| 66 72 69 65 6e 64 20 6f | 66 20 6d 69 6e 65 20 6a |friend o|f mine j|
|00000cf0| 75 73 74 20 73 65 6e 74 | 20 6d 65 20 74 68 69 73 |ust sent| me this|
|00000d00| 2c 20 70 65 72 73 6f 6e | 61 6c 6c 79 20 49 20 74 |, person|ally I t|
|00000d10| 68 69 6e 6b 20 69 74 27 | 73 0d 20 20 20 20 20 20 |hink it'|s. |
|00000d20| 68 69 6c 61 72 69 6f 75 | 73 20 28 73 6f 20 6c 6f |hilariou|s (so lo|
|00000d30| 6e 67 20 61 73 20 79 6f | 75 20 64 6f 6e 27 74 20 |ng as yo|u don't |
|00000d40| 77 6f 72 6b 20 66 6f 72 | 20 4d 53 20 3a 2d 29 2e |work for| MS :-).|
|00000d50| 20 20 45 6e 6a 6f 79 2c | 0d 0d 0d 2d 20 2d 2d 0d | Enjoy,|...- --.|
|00000d60| 0d 0d 22 53 74 61 72 20 | 54 72 65 6b 20 4c 6f 73 |.."Star |Trek Los|
|00000d70| 74 20 45 70 69 73 6f 64 | 65 73 22 20 74 72 61 6e |t Episod|es" tran|
|00000d80| 73 63 72 69 70 74 2e 0d | 0d 3c 50 69 63 61 72 64 |script..|.<Picard|
|00000d90| 3e 20 22 4d 72 2e 20 4c | 61 46 6f 72 67 65 2c 20 |> "Mr. L|aForge, |
|00000da0| 68 61 76 65 20 79 6f 75 | 20 68 61 64 20 61 6e 79 |have you| had any|
|00000db0| 20 73 75 63 63 65 73 73 | 20 77 69 74 68 20 79 6f | success| with yo|
|00000dc0| 75 72 0d 61 74 74 65 6d | 70 74 73 20 61 74 20 66 |ur.attem|pts at f|
|00000dd0| 69 6e 64 69 6e 67 20 61 | 20 77 65 61 6b 6e 65 73 |inding a| weaknes|
|00000de0| 73 20 77 69 74 68 20 74 | 68 65 20 42 6f 72 67 3f |s with t|he Borg?|
|00000df0| 20 20 41 6e 64 20 4d 72 | 2e 20 44 61 74 61 2c 0d | And Mr|. Data,.|
|00000e00| 68 61 76 65 20 79 6f 75 | 20 62 65 65 6e 20 61 62 |have you| been ab|
|00000e10| 6c 65 20 74 6f 20 61 63 | 63 65 73 73 20 74 68 65 |le to ac|cess the|
|00000e20| 69 72 20 63 6f 6d 6d 61 | 6e 64 20 70 61 74 68 77 |ir comma|nd pathw|
|00000e30| 61 79 73 3f 22 0d 0d 3c | 47 65 6f 72 64 69 3e 20 |ays?"..<|Geordi> |
|00000e40| 22 59 65 73 2c 20 43 61 | 70 74 61 69 6e 2e 20 20 |"Yes, Ca|ptain. |
|00000e50| 49 6e 20 66 61 63 74 2c | 20 77 65 20 66 6f 75 6e |In fact,| we foun|
|00000e60| 64 20 74 68 65 20 61 6e | 73 77 65 72 20 62 79 0d |d the an|swer by.|
|00000e70| 73 65 61 72 63 68 69 6e | 67 20 74 68 72 6f 75 67 |searchin|g throug|
|00000e80| 68 20 6f 75 72 20 61 72 | 63 68 69 76 65 73 20 6f |h our ar|chives o|
|00000e90| 6e 20 6c 61 74 65 20 74 | 77 65 6e 74 69 65 74 68 |n late t|wentieth|
|00000ea0| 2d 63 65 6e 74 75 72 79 | 0d 63 6f 6d 70 75 74 69 |-century|.computi|
|00000eb0| 6e 67 20 74 65 63 68 6e | 6f 6c 6f 67 79 2e 22 0d |ng techn|ology.".|
|00000ec0| 0d 3c 47 65 6f 72 64 69 | 20 70 72 65 73 73 65 73 |.<Geordi| presses|
|00000ed0| 20 61 20 6b 65 79 2c 20 | 61 6e 64 20 61 20 6c 6f | a key, |and a lo|
|00000ee0| 67 6f 20 61 70 70 65 61 | 72 73 20 6f 6e 20 74 68 |go appea|rs on th|
|00000ef0| 65 20 63 6f 6d 70 75 74 | 65 72 0d 73 63 72 65 65 |e comput|er.scree|
|00000f00| 6e 2e 3e 0d 0d 3c 52 69 | 6b 65 72 20 6c 6f 6f 6b |n.>..<Ri|ker look|
|00000f10| 73 20 70 75 7a 7a 6c 65 | 64 2e 3e 20 22 57 68 61 |s puzzle|d.> "Wha|
|00000f20| 74 20 74 68 65 20 68 65 | 6c 6c 20 69 73 20 27 4d |t the he|ll is 'M|
|00000f30| 69 63 72 6f 73 6f 66 74 | 27 3f 22 0d 0d 3c 44 61 |icrosoft|'?"..<Da|
|00000f40| 74 61 20 74 75 72 6e 73 | 20 74 6f 20 61 6e 73 77 |ta turns| to answ|
|00000f50| 65 72 2e 3e 20 22 41 6c | 6c 6f 77 20 6d 65 20 74 |er.> "Al|low me t|
|00000f60| 6f 20 65 78 70 6c 61 69 | 6e 2e 20 20 57 65 20 77 |o explai|n. We w|
|00000f70| 69 6c 6c 20 73 65 6e 64 | 0d 74 68 69 73 20 70 72 |ill send|.this pr|
|00000f80| 6f 67 72 61 6d 2c 20 66 | 6f 72 20 73 6f 6d 65 20 |ogram, f|or some |
|00000f90| 72 65 61 73 6f 6e 20 63 | 61 6c 6c 65 64 20 27 57 |reason c|alled 'W|
|00000fa0| 69 6e 64 6f 77 73 2c 27 | 20 74 68 72 6f 75 67 68 |indows,'| through|
|00000fb0| 0d 74 68 65 20 42 6f 72 | 67 20 63 6f 6d 6d 61 6e |.the Bor|g comman|
|00000fc0| 64 20 70 61 74 68 77 61 | 79 73 2e 20 20 4f 6e 63 |d pathwa|ys. Onc|
|00000fd0| 65 20 69 6e 73 69 64 65 | 20 74 68 65 69 72 20 72 |e inside| their r|
|00000fe0| 6f 6f 74 20 63 6f 6d 2d | 0d 6d 61 6e 64 20 75 6e |oot com-|.mand un|
|00000ff0| 69 74 2c 20 69 74 20 77 | 69 6c 6c 20 62 65 67 69 |it, it w|ill begi|
|00001000| 6e 20 63 6f 6e 73 75 6d | 69 6e 67 20 73 79 73 74 |n consum|ing syst|
|00001010| 65 6d 20 72 65 73 6f 75 | 72 63 65 73 20 61 74 20 |em resou|rces at |
|00001020| 61 6e 0d 75 6e 73 74 6f | 70 70 61 62 6c 65 20 72 |an.unsto|ppable r|
|00001030| 61 74 65 2e 22 0d 0d 3c | 50 69 63 61 72 64 3e 20 |ate."..<|Picard> |
|00001040| 22 42 75 74 20 74 68 65 | 20 42 6f 72 67 20 68 61 |"But the| Borg ha|
|00001050| 76 65 20 74 68 65 20 61 | 62 69 6c 69 74 79 20 74 |ve the a|bility t|
|00001060| 6f 20 61 64 61 70 74 2e | 20 20 57 6f 6e 27 74 0d |o adapt.| Won't.|
|00001070| 74 68 65 79 20 61 6c 74 | 65 72 20 74 68 65 69 72 |they alt|er their|
|00001080| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 73 79 73 74 | process|ing syst|
|00001090| 65 6d 73 20 74 6f 20 69 | 6e 63 72 65 61 73 65 20 |ems to i|ncrease |
|000010a0| 74 68 65 69 72 20 73 74 | 6f 72 61 67 65 0d 63 61 |their st|orage.ca|
|000010b0| 70 61 63 69 74 79 3f 22 | 0d 0d 3c 44 61 74 61 3e |pacity?"|..<Data>|
|000010c0| 20 22 59 65 73 2c 20 43 | 61 70 74 61 69 6e 2e 20 | "Yes, C|aptain. |
|000010d0| 20 42 75 74 20 77 68 65 | 6e 20 27 57 69 6e 64 6f | But whe|n 'Windo|
|000010e0| 77 73 27 20 64 65 74 65 | 63 74 73 20 74 68 69 73 |ws' dete|cts this|
|000010f0| 2c 20 69 74 0d 77 69 6c | 6c 20 63 72 65 61 74 65 |, it.wil|l create|
|00001100| 20 61 20 6e 65 77 20 76 | 65 72 73 69 6f 6e 20 6f | a new v|ersion o|
|00001110| 66 20 69 74 73 65 6c 66 | 20 63 61 6c 6c 65 64 20 |f itself| called |
|00001120| 61 6e 20 27 75 70 67 72 | 61 64 65 2e 27 20 20 54 |an 'upgr|ade.' T|
|00001130| 68 65 0d 75 73 65 20 6f | 66 20 72 65 73 6f 75 72 |he.use o|f resour|
|00001140| 63 65 73 20 69 6e 63 72 | 65 61 73 65 73 20 65 78 |ces incr|eases ex|
|00001150| 70 6f 6e 65 6e 74 69 61 | 6c 6c 79 20 77 69 74 68 |ponentia|lly with|
|00001160| 20 65 61 63 68 20 69 74 | 65 72 61 74 69 6f 6e 2e | each it|eration.|
|00001170| 0d 54 68 65 20 42 6f 72 | 67 20 77 69 6c 6c 20 6e |.The Bor|g will n|
|00001180| 6f 74 20 62 65 20 61 62 | 6c 65 20 74 6f 20 61 64 |ot be ab|le to ad|
|00001190| 61 70 74 20 71 75 69 63 | 6b 6c 79 20 65 6e 6f 75 |apt quic|kly enou|
|000011a0| 67 68 2e 0d 45 76 65 6e | 74 75 61 6c 6c 79 20 61 |gh..Even|tually a|
|000011b0| 6c 6c 20 6f 66 20 74 68 | 65 69 72 20 70 72 6f 63 |ll of th|eir proc|
|000011c0| 65 73 73 69 6e 67 20 61 | 62 69 6c 69 74 79 20 77 |essing a|bility w|
|000011d0| 69 6c 6c 20 62 65 20 74 | 61 6b 65 6e 20 6f 76 65 |ill be t|aken ove|
|000011e0| 72 0d 61 6e 64 20 6e 6f | 6e 65 20 77 69 6c 6c 20 |r.and no|ne will |
|000011f0| 62 65 20 61 76 61 69 6c | 61 62 6c 65 20 66 6f 72 |be avail|able for|
|00001200| 20 74 68 65 69 72 20 6e | 6f 72 6d 61 6c 20 6f 70 | their n|ormal op|
|00001210| 65 72 61 74 69 6f 6e 61 | 6c 0d 66 75 6e 63 74 69 |erationa|l.functi|
|00001220| 6f 6e 73 2e 22 0d 0d 3c | 50 69 63 61 72 64 3e 20 |ons."..<|Picard> |
|00001230| 22 45 78 63 65 6c 6c 65 | 6e 74 20 77 6f 72 6b 2e |"Excelle|nt work.|
|00001240| 20 20 54 68 69 73 20 69 | 73 20 65 76 65 6e 20 62 | This i|s even b|
|00001250| 65 74 74 65 72 20 74 68 | 61 6e 20 74 68 61 74 0d |etter th|an that.|
|00001260| 27 75 6e 73 6f 6c 76 61 | 62 6c 65 20 67 65 6f 6d |'unsolva|ble geom|
|00001270| 65 74 72 69 63 20 73 68 | 61 70 65 27 20 69 64 65 |etric sh|ape' ide|
|00001280| 61 2e 22 0d 0d 3c 2e 20 | 2e 20 2e 20 31 35 20 6d |a."..<. |. . 15 m|
|00001290| 69 6e 75 74 65 73 20 6c | 61 74 65 72 20 2e 20 2e |inutes l|ater . .|
|000012a0| 20 2e 3e 0d 0d 3c 44 61 | 74 61 3e 20 22 43 61 70 | .>..<Da|ta> "Cap|
|000012b0| 74 61 69 6e 2c 20 77 65 | 20 68 61 76 65 20 73 75 |tain, we| have su|
|000012c0| 63 63 65 73 73 66 75 6c | 6c 79 20 69 6e 73 74 61 |ccessful|ly insta|
|000012d0| 6c 6c 65 64 20 74 68 65 | 0d 27 57 69 6e 64 6f 77 |lled the|.'Window|
|000012e0| 73 27 20 69 6e 20 74 68 | 65 20 63 6f 6d 6d 61 6e |s' in th|e comman|
|000012f0| 64 20 75 6e 69 74 20 61 | 6e 64 2c 20 61 73 20 65 |d unit a|nd, as e|
|00001300| 78 70 65 63 74 65 64 2c | 20 69 74 0d 69 6d 6d 65 |xpected,| it.imme|
|00001310| 64 69 61 74 65 6c 79 20 | 63 6f 6e 73 75 6d 65 64 |diately |consumed|
|00001320| 20 38 35 25 20 6f 66 20 | 61 6c 6c 20 72 65 73 6f | 85% of |all reso|
|00001330| 75 72 63 65 73 2e 20 20 | 57 65 2c 20 68 6f 77 65 |urces. |We, howe|
|00001340| 76 65 72 2c 0d 68 61 76 | 65 20 6e 6f 74 20 72 65 |ver,.hav|e not re|
|00001350| 63 65 69 76 65 64 20 61 | 6e 79 20 63 6f 6e 66 69 |ceived a|ny confi|
|00001360| 72 6d 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 65 |rmation |of the e|
|00001370| 78 70 65 63 74 65 64 0d | 27 75 70 67 72 61 64 65 |xpected.|'upgrade|
|00001380| 2e 27 22 0d 0d 3c 47 65 | 6f 72 64 69 3e 20 22 4f |.'"..<Ge|ordi> "O|
|00001390| 75 72 20 73 63 61 6e 6e | 65 72 73 20 68 61 76 65 |ur scann|ers have|
|000013a0| 20 70 69 63 6b 65 64 20 | 75 70 20 61 6e 20 69 6e | picked |up an in|
|000013b0| 63 72 65 61 73 65 20 69 | 6e 20 42 6f 72 67 0d 73 |crease i|n Borg.s|
|000013c0| 74 6f 72 61 67 65 20 61 | 6e 64 20 43 50 55 20 63 |torage a|nd CPU c|
|000013d0| 61 70 61 63 69 74 79 20 | 74 6f 20 63 6f 6d 70 65 |apacity |to compe|
|000013e0| 6e 73 61 74 65 2c 20 62 | 75 74 20 77 65 20 73 74 |nsate, b|ut we st|
|000013f0| 69 6c 6c 20 68 61 76 65 | 20 6e 6f 0d 69 6e 64 69 |ill have| no.indi|
|00001400| 63 61 74 69 6f 6e 20 6f | 66 20 61 6e 20 27 75 70 |cation o|f an 'up|
|00001410| 67 72 61 64 65 27 20 74 | 6f 20 63 6f 6d 70 65 6e |grade' t|o compen|
|00001420| 73 61 74 65 20 66 6f 72 | 20 74 68 65 69 72 20 69 |sate for| their i|
|00001430| 6e 63 72 65 61 73 65 2e | 22 0d 0d 3c 50 69 63 61 |ncrease.|"..<Pica|
|00001440| 72 64 3e 20 22 44 61 74 | 61 2c 20 73 63 61 6e 20 |rd> "Dat|a, scan |
|00001450| 74 68 65 20 68 69 73 74 | 6f 72 79 20 62 6f 6f 6b |the hist|ory book|
|00001460| 73 20 61 67 61 69 6e 20 | 61 6e 64 20 64 65 74 65 |s again |and dete|
|00001470| 72 6d 69 6e 65 0d 69 66 | 20 74 68 65 72 65 20 69 |rmine.if| there i|
|00001480| 73 20 73 6f 6d 65 74 68 | 69 6e 67 20 77 65 20 68 |s someth|ing we h|
|00001490| 61 76 65 20 6d 69 73 73 | 65 64 2e 22 0d 0d 3c 44 |ave miss|ed."..<D|
|000014a0| 61 74 61 3e 20 22 53 69 | 72 2c 20 49 20 62 65 6c |ata> "Si|r, I bel|
|000014b0| 69 65 76 65 20 74 68 65 | 72 65 20 69 73 20 61 20 |ieve the|re is a |
|000014c0| 72 65 61 73 6f 6e 20 66 | 6f 72 20 74 68 65 20 66 |reason f|or the f|
|000014d0| 61 69 6c 75 72 65 20 69 | 6e 20 74 68 65 0d 27 75 |ailure i|n the.'u|
|000014e0| 70 67 72 61 64 65 2e 27 | 20 20 41 70 70 61 72 65 |pgrade.'| Appare|
|000014f0| 6e 74 6c 79 20 74 68 65 | 20 42 6f 72 67 20 68 61 |ntly the| Borg ha|
|00001500| 76 65 20 63 69 72 63 75 | 6d 76 65 6e 74 65 64 20 |ve circu|mvented |
|00001510| 74 68 61 74 20 70 61 72 | 74 0d 6f 66 20 74 68 65 |that par|t.of the|
|00001520| 20 70 6c 61 6e 20 62 79 | 20 6e 6f 74 20 73 65 6e | plan by| not sen|
|00001530| 64 69 6e 67 20 69 6e 20 | 74 68 65 69 72 20 27 72 |ding in |their 'r|
|00001540| 65 67 69 73 74 72 61 74 | 69 6f 6e 20 63 61 72 64 |egistrat|ion card|
|00001550| 73 2e 27 22 0d 0d 3c 52 | 69 6b 65 72 3e 20 20 22 |s.'"..<R|iker> "|
|00001560| 43 61 70 74 61 69 6e 2c | 20 77 65 20 68 61 76 65 |Captain,| we have|
|00001570| 20 6e 6f 20 63 68 6f 69 | 63 65 2e 20 20 52 65 71 | no choi|ce. Req|
|00001580| 75 65 73 74 69 6e 67 0d | 70 65 72 6d 69 73 73 69 |uesting.|permissi|
|00001590| 6f 6e 20 74 6f 20 62 65 | 67 69 6e 20 65 6d 65 72 |on to be|gin emer|
|000015a0| 67 65 6e 63 79 20 65 73 | 63 61 70 65 20 73 65 71 |gency es|cape seq|
|000015b0| 75 65 6e 63 65 20 33 46 | 20 2e 20 2e 20 2e 22 0d |uence 3F| . . .".|
|000015c0| 0d 3c 47 65 6f 72 64 69 | 2c 20 65 78 63 69 74 65 |.<Geordi|, excite|
|000015d0| 64 3e 20 20 22 57 61 69 | 74 2c 20 43 61 70 74 61 |d> "Wai|t, Capta|
|000015e0| 69 6e 2c 20 49 20 6a 75 | 73 74 20 64 65 74 65 63 |in, I ju|st detec|
|000015f0| 74 65 64 20 74 68 61 74 | 20 74 68 65 69 72 0d 43 |ted that| their.C|
|00001600| 50 55 20 63 61 70 61 63 | 69 74 79 20 68 61 73 20 |PU capac|ity has |
|00001610| 73 75 64 64 65 6e 6c 79 | 20 64 72 6f 70 70 65 64 |suddenly| dropped|
|00001620| 20 74 6f 20 30 25 21 22 | 0d 0d 3c 50 69 63 61 72 | to 0%!"|..<Picar|
|00001630| 64 3e 20 22 44 61 74 61 | 2c 20 77 68 61 74 20 64 |d> "Data|, what d|
|00001640| 6f 20 79 6f 75 72 20 73 | 63 61 6e 6e 65 72 73 20 |o your s|canners |
|00001650| 73 68 6f 77 3f 22 0d 0d | 3c 44 61 74 61 3e 20 22 |show?"..|<Data> "|
|00001660| 41 70 70 61 72 65 6e 74 | 6c 79 20 74 68 65 20 42 |Apparent|ly the B|
|00001670| 6f 72 67 20 68 61 76 65 | 20 66 6f 75 6e 64 20 74 |org have| found t|
|00001680| 68 65 20 69 6e 74 65 72 | 6e 61 6c 0d 27 57 69 6e |he inter|nal.'Win|
|00001690| 64 6f 77 73 27 20 6d 6f | 64 75 6c 65 20 6e 61 6d |dows' mo|dule nam|
|000016a0| 65 64 20 27 73 6f 6c 69 | 74 61 69 72 65 27 20 61 |ed 'soli|taire' a|
|000016b0| 6e 64 20 69 74 20 68 61 | 73 20 75 73 65 64 20 75 |nd it ha|s used u|
|000016c0| 70 20 61 6c 6c 0d 74 68 | 65 20 43 50 55 20 63 61 |p all.th|e CPU ca|
|000016d0| 70 61 63 69 74 79 2e 22 | 0d 0d 3c 50 69 63 61 72 |pacity."|..<Picar|
|000016e0| 64 3e 20 22 4c 65 74 27 | 73 20 77 61 69 74 20 61 |d> "Let'|s wait a|
|000016f0| 6e 64 20 73 65 65 20 68 | 6f 77 20 6c 6f 6e 67 20 |nd see h|ow long |
|00001700| 74 68 69 73 20 27 73 6f | 6c 69 74 61 69 72 65 27 |this 'so|litaire'|
|00001710| 20 63 61 6e 0d 72 65 64 | 75 63 65 20 74 68 65 69 | can.red|uce thei|
|00001720| 72 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 2e |r functi|onality.|
|00001730| 22 0d 0d 3c 2e 20 2e 20 | 2e 20 54 77 6f 20 68 6f |"..<. . |. Two ho|
|00001740| 75 72 73 20 70 61 73 73 | 20 2e 20 2e 20 2e 3e 0d |urs pass| . . .>.|
|00001750| 0d 3c 52 69 6b 65 72 3e | 20 22 47 65 6f 72 64 69 |.<Riker>| "Geordi|
|00001760| 2c 20 77 68 61 74 27 73 | 20 74 68 65 20 73 74 61 |, what's| the sta|
|00001770| 74 75 73 20 6f 66 20 74 | 68 65 20 42 6f 72 67 3f |tus of t|he Borg?|
|00001780| 22 0d 0d 3c 47 65 6f 72 | 64 69 3e 20 22 41 73 20 |"..<Geor|di> "As |
|00001790| 65 78 70 65 63 74 65 64 | 20 74 68 65 20 42 6f 72 |expected| the Bor|
|000017a0| 67 20 61 72 65 20 61 74 | 74 65 6d 70 74 69 6e 67 |g are at|tempting|
|000017b0| 20 74 6f 20 72 65 2d 0d | 65 6e 67 69 6e 65 65 72 | to re-.|engineer|
|000017c0| 20 74 6f 20 63 6f 6d 70 | 65 6e 73 61 74 65 20 66 | to comp|ensate f|
|000017d0| 6f 72 20 69 6e 63 72 65 | 61 73 65 64 20 43 50 55 |or incre|ased CPU|
|000017e0| 20 61 6e 64 20 73 74 6f | 72 61 67 65 0d 64 65 6d | and sto|rage.dem|
|000017f0| 61 6e 64 73 2c 20 62 75 | 74 20 65 61 63 68 20 74 |ands, bu|t each t|
|00001800| 69 6d 65 20 74 68 65 79 | 20 73 75 63 63 65 73 73 |ime they| success|
|00001810| 66 75 6c 6c 79 20 69 6e | 63 72 65 61 73 65 20 72 |fully in|crease r|
|00001820| 65 73 6f 75 72 63 65 73 | 0d 49 20 68 61 76 65 20 |esources|.I have |
|00001830| 73 65 74 20 75 70 20 6f | 75 72 20 63 6c 6f 73 65 |set up o|ur close|
|00001840| 73 74 20 64 65 65 70 20 | 73 70 61 63 65 20 6d 6f |st deep |space mo|
|00001850| 6e 69 74 6f 72 20 62 65 | 61 63 6f 6e 20 74 6f 0d |nitor be|acon to.|
|00001860| 74 72 61 6e 73 6d 69 74 | 20 6d 6f 72 65 20 27 57 |transmit| more 'W|
|00001870| 69 6e 64 6f 77 73 27 20 | 6d 6f 64 75 6c 65 73 20 |indows' |modules |
|00001880| 66 72 6f 6d 20 73 6f 6d | 65 74 68 69 6e 67 20 63 |from som|ething c|
|00001890| 61 6c 6c 65 64 0d 74 68 | 65 20 27 4d 69 63 72 6f |alled.th|e 'Micro|
|000018a0| 73 6f 66 74 20 66 75 6e | 2d 70 61 63 6b 2e 27 22 |soft fun|-pack.'"|
|000018b0| 0d 0d 3c 50 69 63 61 72 | 64 3e 20 22 48 6f 77 20 |..<Picar|d> "How |
|000018c0| 6d 75 63 68 20 74 69 6d | 65 20 77 69 6c 6c 20 74 |much tim|e will t|
|000018d0| 68 61 74 20 62 75 79 20 | 75 73 3f 22 0d 0d 3c 44 |hat buy |us?"..<D|
|000018e0| 61 74 61 3e 20 22 43 75 | 72 72 65 6e 74 20 42 6f |ata> "Cu|rrent Bo|
|000018f0| 72 67 20 73 6f 6c 75 74 | 69 6f 6e 20 72 61 74 65 |rg solut|ion rate|
|00001900| 73 20 61 6c 6c 6f 77 20 | 6d 65 20 74 6f 20 70 72 |s allow |me to pr|
|00001910| 65 64 69 63 74 20 61 6e | 0d 69 6e 74 65 72 65 73 |edict an|.interes|
|00001920| 74 20 74 69 6d 65 20 73 | 70 61 6e 20 6f 66 20 36 |t time s|pan of 6|
|00001930| 20 6d 6f 72 65 20 68 6f | 75 72 73 2e 22 0d 0d 3c | more ho|urs."..<|
|00001940| 47 65 6f 72 64 69 3e 20 | 22 43 61 70 74 61 69 6e |Geordi> |"Captain|
|00001950| 2c 20 61 6e 6f 74 68 65 | 72 20 76 65 73 73 65 6c |, anothe|r vessel|
|00001960| 20 68 61 73 20 65 6e 74 | 65 72 65 64 20 6f 75 72 | has ent|ered our|
|00001970| 20 73 65 63 74 6f 72 2e | 22 0d 0d 3c 50 69 63 61 | sector.|"..<Pica|
|00001980| 72 64 3e 20 22 49 64 65 | 6e 74 69 66 79 2e 22 0d |rd> "Ide|ntify.".|
|00001990| 0d 3c 44 61 74 61 3e 20 | 22 49 74 20 61 70 70 65 |.<Data> |"It appe|
|000019a0| 61 72 73 20 74 6f 20 68 | 61 76 65 20 6d 61 72 6b |ars to h|ave mark|
|000019b0| 69 6e 67 73 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |ings sim|ilar to |
|000019c0| 74 68 65 0d 27 4d 69 63 | 72 6f 73 6f 66 74 27 20 |the.'Mic|rosoft' |
|000019d0| 6c 6f 67 6f 2e 22 0d 0d | 3c 4f 76 65 72 20 74 68 |logo."..|<Over th|
|000019e0| 65 20 73 70 65 61 6b 65 | 72 73 3e 20 22 54 48 49 |e speake|rs> "THI|
|000019f0| 53 20 49 53 20 41 44 4d | 49 52 41 4c 20 42 49 4c |S IS ADM|IRAL BIL|
|00001a00| 4c 20 47 41 54 45 53 0d | 4f 46 20 54 48 45 20 4d |L GATES.|OF THE M|
|00001a10| 49 43 52 4f 53 4f 46 54 | 20 46 4c 41 47 53 48 49 |ICROSOFT| FLAGSHI|
|00001a20| 50 20 4d 4f 4e 4f 50 4f | 4c 59 2e 20 20 57 45 0d |P MONOPO|LY. WE.|
|00001a30| 48 41 56 45 20 50 4f 53 | 49 54 49 56 45 20 43 4f |HAVE POS|ITIVE CO|
|00001a40| 4e 46 49 52 4d 41 54 49 | 4f 4e 20 4f 46 20 55 4e |NFIRMATI|ON OF UN|
|00001a50| 2d 0d 52 45 47 49 53 54 | 45 52 45 44 20 53 4f 46 |-.REGIST|ERED SOF|
|00001a60| 54 57 41 52 45 20 49 4e | 20 54 48 49 53 20 53 45 |TWARE IN| THIS SE|
|00001a70| 43 54 4f 52 2e 0d 53 55 | 52 52 45 4e 44 45 52 20 |CTOR..SU|RRENDER |
|00001a80| 41 4c 4c 20 41 53 53 45 | 54 53 20 41 4e 44 20 57 |ALL ASSE|TS AND W|
|00001a90| 45 20 43 41 4e 20 41 56 | 4f 49 44 20 41 4e 59 0d |E CAN AV|OID ANY.|
|00001aa0| 54 52 4f 55 42 4c 45 2e | 20 20 59 4f 55 20 48 41 |TROUBLE.| YOU HA|
|00001ab0| 56 45 20 54 45 4e 20 53 | 45 43 4f 4e 44 53 2e 22 |VE TEN S|ECONDS."|
|00001ac0| 0d 0d 3c 44 61 74 61 3e | 20 22 54 68 65 20 61 6c |..<Data>| "The al|
|00001ad0| 69 65 6e 20 73 68 69 70 | 20 68 61 73 20 6a 75 73 |ien ship| has jus|
|00001ae0| 74 20 6f 70 65 6e 65 64 | 20 69 74 73 20 66 6f 72 |t opened| its for|
|00001af0| 77 61 72 64 20 68 61 74 | 63 68 65 73 0d 61 6e 64 |ward hat|ches.and|
|00001b00| 20 72 65 6c 65 61 73 65 | 64 20 74 68 6f 75 73 61 | release|d thousa|
|00001b10| 6e 64 73 20 6f 66 20 68 | 75 6d 61 6e 6f 69 64 20 |nds of h|umanoid |
|00001b20| 73 68 61 70 65 64 20 6f | 62 6a 65 63 74 73 2e 22 |shaped o|bjects."|
|00001b30| 0d 0d 3c 50 69 63 61 72 | 64 3e 20 22 4d 61 67 6e |..<Picar|d> "Magn|
|00001b40| 69 66 79 20 66 6f 72 77 | 61 72 64 20 76 69 65 77 |ify forw|ard view|
|00001b50| 65 72 20 6f 6e 20 74 68 | 65 20 61 6c 69 65 6e 20 |er on th|e alien |
|00001b60| 63 72 61 66 74 2e 22 0d | 0d 3c 52 69 6b 65 72 3e |craft.".|.<Riker>|
|00001b70| 20 22 47 6f 6f 64 20 47 | 6f 64 20 43 61 70 74 61 | "Good G|od Capta|
|00001b80| 69 6e 21 20 20 54 68 6f | 73 65 20 61 72 65 20 68 |in! Tho|se are h|
|00001b90| 75 6d 61 6e 73 20 66 6c | 6f 61 74 69 6e 67 0d 73 |umans fl|oating.s|
|00001ba0| 74 72 61 69 67 68 74 20 | 74 6f 77 61 72 64 20 74 |traight |toward t|
|00001bb0| 68 65 20 42 6f 72 67 20 | 73 68 69 70 20 77 69 74 |he Borg |ship wit|
|00001bc0| 68 20 6e 6f 20 6c 69 66 | 65 20 73 75 70 70 6f 72 |h no lif|e suppor|
|00001bd0| 74 20 73 75 69 74 73 21 | 0d 48 6f 77 20 63 61 6e |t suits!|.How can|
|00001be0| 20 74 68 65 79 20 73 75 | 72 76 69 76 65 20 74 68 | they su|rvive th|
|00001bf0| 65 20 74 6f 72 74 75 72 | 65 73 20 6f 66 20 64 65 |e tortur|es of de|
|00001c00| 65 70 20 73 70 61 63 65 | 3f 21 22 0d 0d 3c 44 61 |ep space|?!"..<Da|
|00001c10| 74 61 3e 20 22 49 20 64 | 6f 20 6e 6f 74 20 62 65 |ta> "I d|o not be|
|00001c20| 6c 69 65 76 65 20 74 68 | 61 74 20 74 68 6f 73 65 |lieve th|at those|
|00001c30| 20 61 72 65 20 68 75 6d | 61 6e 73 20 73 69 72 3b | are hum|ans sir;|
|00001c40| 20 69 66 20 79 6f 75 20 | 77 69 6c 6c 0d 6c 6f 6f | if you |will.loo|
|00001c50| 6b 20 63 6c 6f 73 65 72 | 2c 20 49 20 62 65 6c 69 |k closer|, I beli|
|00001c60| 65 76 65 20 79 6f 75 20 | 77 69 6c 6c 20 73 65 65 |eve you |will see|
|00001c70| 20 74 68 61 74 20 74 68 | 65 79 20 61 72 65 20 63 | that th|ey are c|
|00001c80| 61 72 72 79 69 6e 67 0d | 73 6f 6d 65 74 68 69 6e |arrying.|somethin|
|00001c90| 67 20 72 65 63 6f 67 6e | 69 7a 65 64 20 69 6e 20 |g recogn|ized in |
|00001ca0| 74 68 65 20 74 77 65 6e | 74 79 2d 66 69 72 73 74 |the twen|ty-first|
|00001cb0| 20 63 65 6e 74 75 72 79 | 20 61 73 20 64 6f 65 2d | century| as doe-|
|00001cc0| 73 6b 69 6e 0d 6c 65 61 | 74 68 65 72 20 62 72 69 |skin.lea|ther bri|
|00001cd0| 65 66 63 61 73 65 73 2c | 20 61 6e 64 20 77 65 61 |efcases,| and wea|
|00001ce0| 72 69 6e 67 20 41 72 6d | 61 6e 69 20 73 75 69 74 |ring Arm|ani suit|
|00001cf0| 73 2e 22 0d 0d 3c 52 69 | 6b 65 72 20 61 6e 64 20 |s."..<Ri|ker and |
|00001d00| 50 69 63 61 72 64 20 74 | 6f 67 65 74 68 65 72 20 |Picard t|ogether |
|00001d10| 68 6f 72 72 69 66 69 65 | 64 3e 20 22 4c 61 77 79 |horrifie|d> "Lawy|
|00001d20| 65 72 73 21 21 22 0d 0d | 3c 47 65 6f 72 64 69 3e |ers!!"..|<Geordi>|
|00001d30| 20 22 49 74 20 63 61 6e | 27 74 20 62 65 2e 20 20 | "It can|'t be. |
|00001d40| 41 6c 6c 20 74 68 65 20 | 6c 61 77 79 65 72 73 20 |All the |lawyers |
|00001d50| 77 65 72 65 20 72 6f 75 | 6e 64 65 64 20 75 70 20 |were rou|nded up |
|00001d60| 61 6e 64 0d 73 65 6e 74 | 20 68 75 72 74 6c 69 6e |and.sent| hurtlin|
|00001d70| 67 20 69 6e 74 6f 20 74 | 68 65 20 73 75 6e 20 69 |g into t|he sun i|
|00001d80| 6e 20 32 30 31 37 20 64 | 75 72 69 6e 67 20 74 68 |n 2017 d|uring th|
|00001d90| 65 20 67 72 65 61 74 20 | 61 77 61 6b 65 6e 2d 0d |e great |awaken-.|
|00001da0| 69 6e 67 2e 22 0d 0d 3c | 44 61 74 61 3e 20 22 54 |ing."..<|Data> "T|
|00001db0| 72 75 65 2c 20 62 75 74 | 20 61 70 70 61 72 65 6e |rue, but| apparen|
|00001dc0| 74 6c 79 20 73 6f 6d 65 | 20 6d 75 73 74 20 68 61 |tly some| must ha|
|00001dd0| 76 65 20 73 75 72 76 69 | 76 65 64 2e 22 0d 0d 3c |ve survi|ved."..<|
|00001de0| 52 69 6b 65 72 3e 20 22 | 54 68 65 79 20 68 61 76 |Riker> "|They hav|
|00001df0| 65 20 73 75 72 72 6f 75 | 6e 64 65 64 20 74 68 65 |e surrou|nded the|
|00001e00| 20 42 6f 72 67 20 73 68 | 69 70 20 61 6e 64 20 61 | Borg sh|ip and a|
|00001e10| 72 65 0d 63 6f 76 65 72 | 69 6e 67 20 69 74 20 77 |re.cover|ing it w|
|00001e20| 69 74 68 20 61 6c 6c 20 | 74 79 70 65 73 20 6f 66 |ith all |types of|
|00001e30| 20 70 61 70 65 72 73 2e | 22 0d 0d 3c 44 61 74 61 | papers.|"..<Data|
|00001e40| 3e 20 22 49 20 62 65 6c | 69 65 76 65 20 74 68 61 |> "I bel|ieve tha|
|00001e50| 74 20 69 73 20 6b 6e 6f | 77 6e 20 69 6e 20 61 6e |t is kno|wn in an|
|00001e60| 63 69 65 6e 74 20 76 65 | 72 6e 61 63 75 6c 61 72 |cient ve|rnacular|
|00001e70| 20 61 73 20 27 72 65 64 | 0d 74 61 70 65 2e 27 20 | as 'red|.tape.' |
|00001e80| 20 49 74 20 6f 66 74 65 | 6e 20 70 72 6f 76 65 73 | It ofte|n proves|
|00001e90| 20 66 61 74 61 6c 2e 0d | 0d 3c 52 69 6b 65 72 3e | fatal..|.<Riker>|
|00001ea0| 20 22 54 68 65 79 27 72 | 65 20 74 65 61 72 69 6e | "They'r|e tearin|
|00001eb0| 67 20 74 68 65 20 42 6f | 72 67 20 74 6f 20 70 69 |g the Bo|rg to pi|
|00001ec0| 65 63 65 73 21 22 0d 0d | 3c 50 69 63 61 72 64 3e |eces!"..|<Picard>|
|00001ed0| 20 22 54 75 72 6e 20 6f | 66 66 20 74 68 65 20 6d | "Turn o|ff the m|
|00001ee0| 6f 6e 69 74 6f 72 73 2e | 20 20 49 20 63 61 6e 27 |onitors.| I can'|
|00001ef0| 74 20 73 74 61 6e 64 20 | 74 6f 20 77 61 74 63 68 |t stand |to watch|
|00001f00| 2e 20 20 4e 6f 74 0d 65 | 76 65 6e 20 74 68 65 20 |. Not.e|ven the |
|00001f10| 42 6f 72 67 20 64 65 73 | 65 72 76 65 20 74 68 61 |Borg des|erve tha|
|00001f20| 74 2e 22 0d 0d 0d 0d 20 | 20 44 69 73 63 6c 61 69 |t.".... | Disclai|
|00001f30| 6d 65 72 3a 20 4a 75 73 | 74 20 6d 79 20 6f 70 69 |mer: Jus|t my opi|
|00001f40| 6e 69 6f 6e 2e 0d 20 20 | 20 20 20 20 20 20 20 20 |nion.. | |
|00001f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 5f 2f 20 20 20 5f | | _/ _|
|00001f70| 2f 20 20 5f 2f 20 20 5f | 2f 5f 2f 5f 2f 20 20 20 |/ _/ _|/_/_/ |
|00001f80| 5f 2f 20 20 20 5f 2f 20 | 20 0d 20 20 20 20 20 49 |_/ _/ | . I|
|00001f90| 6e 74 65 72 65 74 3a 20 | 6e 69 63 6b 40 70 69 74 |nteret: |nick@pit|
|00001fa0| 74 2e 65 64 75 20 20 20 | 20 20 20 20 20 5f 2f 5f |t.edu | _/_|
|00001fb0| 2f 20 5f 2f 20 20 5f 2f | 20 20 5f 2f 20 20 20 5f |/ _/ _/| _/ _|
|00001fc0| 2f 20 20 5f 2f 5f 2f 5f | 2f 20 20 20 20 0d 20 20 |/ _/_/_|/ . |
|00001fd0| 20 20 20 20 65 57 6f 72 | 6c 64 3a 20 6e 69 63 6b | eWor|ld: nick|
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ff0| 5f 2f 20 5f 2f 5f 2f 20 | 20 5f 2f 20 20 5f 2f 20 |_/ _/_/ | _/ _/ |
|00002000| 20 20 20 20 20 20 5f 2f | 20 5f 2f 20 20 20 20 20 | _/| _/ |
|00002010| 20 0d 20 20 20 20 20 20 | 20 20 20 43 49 53 3a 20 | . | CIS: |
|00002020| 37 31 32 33 32 2c 37 36 | 36 20 20 20 20 20 20 20 |71232,76|6 |
|00002030| 20 20 20 5f 2f 20 20 20 | 5f 2f 20 20 5f 2f 20 20 | _/ |_/ _/ |
|00002040| 20 5f 2f 5f 2f 5f 2f 20 | 20 5f 2f 20 20 20 5f 2f | _/_/_/ | _/ _/|
|00002050| 20 20 20 20 20 0d 20 20 | 20 20 0d 20 20 20 20 20 | . | . |
|00002060| 20 20 20 20 20 20 22 53 | 63 69 65 6e 63 65 20 69 | "S|cience i|
|00002070| 73 20 6e 6f 74 68 69 6e | 67 20 62 75 74 20 70 65 |s nothin|g but pe|
|00002080| 72 63 65 70 74 69 6f 6e | 22 20 2d 20 50 6c 61 74 |rception|" - Plat|
|00002090| 6f 0d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |o..-----|--------|
|000020a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|000020b0| 3e 46 72 6f 6d 20 6b 6f | 63 68 65 72 40 6c 74 73 |>From ko|cher@lts|
|000020c0| 2e 73 65 6c 2e 61 6c 63 | 61 74 65 6c 2e 64 65 20 |.sel.alc|atel.de |
|000020d0| 28 48 61 72 74 6d 75 74 | 20 4b 6f 63 68 65 72 20 |(Hartmut| Kocher |
|000020e0| 55 53 2f 45 53 41 20 36 | 30 2f 31 4c 2f 32 3f 20 |US/ESA 6|0/1L/2? |
|000020f0| 23 35 36 32 39 29 0d 53 | 75 62 6a 65 63 74 3a 20 |#5629).S|ubject: |
|00002100| 41 70 70 6c 65 53 63 72 | 69 70 74 3a 20 65 76 65 |AppleScr|ipt: eve|
|00002110| 6e 74 20 74 69 6d 65 73 | 20 6f 75 74 0d 44 61 74 |nt times| out.Dat|
|00002120| 65 3a 20 4d 6f 6e 2c 20 | 32 32 20 41 75 67 20 39 |e: Mon, |22 Aug 9|
|00002130| 34 20 30 38 3a 33 33 3a | 33 35 20 47 4d 54 0d 4f |4 08:33:|35 GMT.O|
|00002140| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 53 45 4c |rganizat|ion: SEL|
|00002150| 2d 41 6c 63 61 74 65 6c | 20 4c 54 53 20 44 65 70 |-Alcatel| LTS Dep|
|00002160| 74 2e 20 55 53 2f 45 53 | 0d 0d 49 27 76 65 20 77 |t. US/ES|..I've w|
|00002170| 72 69 74 74 65 6e 20 61 | 20 73 6d 61 6c 6c 20 41 |ritten a| small A|
|00002180| 70 70 6c 65 53 63 72 69 | 70 74 2c 20 74 68 61 74 |ppleScri|pt, that|
|00002190| 20 63 6f 70 69 65 73 20 | 61 20 66 65 77 20 66 6f | copies |a few fo|
|000021a0| 6c 64 65 72 73 20 61 72 | 6f 75 6e 64 0d 75 73 69 |lders ar|ound.usi|
|000021b0| 6e 67 20 74 68 65 20 73 | 63 72 69 70 74 61 62 6c |ng the s|criptabl|
|000021c0| 65 20 46 69 6e 64 65 72 | 2e 20 4d 79 20 70 72 6f |e Finder|. My pro|
|000021d0| 62 6c 65 6d 20 69 73 20 | 74 68 61 74 20 69 66 20 |blem is |that if |
|000021e0| 6f 6e 65 20 6f 66 20 74 | 68 65 73 65 20 66 6f 6c |one of t|hese fol|
|000021f0| 64 65 72 73 0d 68 6f 6c | 64 73 20 6d 61 6e 79 20 |ders.hol|ds many |
|00002200| 66 69 6c 65 73 2c 20 74 | 68 65 20 72 65 70 6c 79 |files, t|he reply|
|00002210| 20 66 72 6f 6d 20 74 68 | 65 20 46 69 6e 64 65 72 | from th|e Finder|
|00002220| 20 74 61 6b 65 73 20 74 | 6f 6f 20 6c 6f 6e 67 20 | takes t|oo long |
|00002230| 61 6e 64 20 74 68 65 0d | 72 65 70 6c 79 20 74 69 |and the.|reply ti|
|00002240| 6d 65 73 20 6f 75 74 20 | 28 61 62 6f 72 74 69 6e |mes out |(abortin|
|00002250| 67 20 74 68 65 20 73 63 | 72 69 70 74 20 3a 2d 28 |g the sc|ript :-(|
|00002260| 20 29 2e 0d 0d 48 6f 77 | 20 63 61 6e 20 49 20 73 | )...How| can I s|
|00002270| 65 74 20 74 68 65 20 74 | 69 6d 65 6f 75 74 20 76 |et the t|imeout v|
|00002280| 61 6c 75 65 2c 20 73 6f | 20 6d 79 20 73 63 72 69 |alue, so| my scri|
|00002290| 70 74 20 69 73 20 77 69 | 6c 6c 69 6e 67 20 74 6f |pt is wi|lling to|
|000022a0| 20 77 61 69 74 0d 6c 6f | 6e 67 65 72 20 66 72 6f | wait.lo|nger fro|
|000022b0| 20 61 20 72 65 70 6c 79 | 3f 0d 0d 54 68 61 6e 6b | a reply|?..Thank|
|000022c0| 73 20 66 6f 72 20 79 6f | 75 72 20 73 75 67 67 65 |s for yo|ur sugge|
|000022d0| 73 74 69 6f 6e 73 2e 0d | 0d 2d 2d 20 0d 2b 3d 3d |stions..|.-- .+==|
|000022e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000022f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 7c 3d 3d 3d |========|====|===|
|00002300| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002310| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 2b 0d 7c 20 48 |========|===+.| H|
|00002320| 61 72 74 6d 75 74 20 4b | 6f 63 68 65 72 20 20 20 |artmut K|ocher |
|00002330| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 20 | | | |
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002350| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 7c 20 54 | | |.| T|
|00002360| 65 63 68 6e 69 63 61 6c | 20 43 6f 6e 73 75 6c 74 |echnical| Consult|
|00002370| 61 6e 74 20 20 20 20 20 | 20 20 20 20 7c 20 41 6c |ant | | Al|
|00002380| 6c 20 6f 70 69 6e 69 6f | 6e 73 20 65 78 70 72 65 |l opinio|ns expre|
|00002390| 73 73 65 64 20 68 65 72 | 65 20 20 7c 0d 7c 20 52 |ssed her|e |.| R|
|000023a0| 61 74 69 6f 6e 61 6c 20 | 47 6d 62 48 20 20 20 20 |ational |GmbH |
|000023b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 61 72 | | | ar|
|000023c0| 65 20 6d 79 20 6f 77 6e | 2e 20 20 20 20 20 20 20 |e my own|. |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 7c 20 52 | | |.| R|
|000023e0| 6f 73 65 6e 73 74 72 61 | 73 73 65 20 37 20 20 20 |osenstra|sse 7 |
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 20 | | | |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002410| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 7c 20 38 | | |.| 8|
|00002420| 32 30 34 39 20 50 75 6c | 6c 61 63 68 20 69 6d 20 |2049 Pul|lach im |
|00002430| 49 73 61 72 74 61 6c 20 | 20 20 20 20 7c 20 49 20 |Isartal | | I |
|00002440| 6b 6e 6f 77 20 79 6f 75 | 20 67 75 65 73 73 65 64 |know you| guessed|
|00002450| 20 69 74 2c 20 20 20 20 | 20 20 20 7c 0d 7c 20 47 | it, | |.| G|
|00002460| 65 72 6d 61 6e 79 20 20 | 20 20 20 20 20 20 20 20 |ermany | |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 20 62 75 | | | bu|
|00002480| 74 20 69 74 20 6b 65 65 | 70 73 20 6d 79 20 6c 61 |t it kee|ps my la|
|00002490| 77 79 65 72 20 68 61 70 | 70 79 2e 7c 0d 7c 20 45 |wyer hap|py.|.| E|
|000024a0| 6d 61 69 6c 3a 20 68 77 | 6b 40 72 61 74 69 6f 6e |mail: hw|k@ration|
|000024b0| 61 6c 2e 63 6f 6d 20 20 | 20 20 20 20 7c 20 20 20 |al.com | | |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 2b 3d 3d | | |.+==|
|000024e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000024f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 7c 3d 3d 3d |========|====|===|
|00002500| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002510| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 2b 0d 0d 2b 2b |========|===+..++|
|00002520| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002530| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 0d 0d 3e 46 72 6f 6d |++++++++|+..>From|
|00002540| 20 64 6d 63 6c 65 6f 64 | 40 68 70 62 2e 68 77 63 | dmcleod|@hpb.hwc|
|00002550| 2e 63 61 20 28 44 2e 41 | 2e 20 4d 63 4c 65 6f 64 |.ca (D.A|. McLeod|
|00002560| 29 0d 44 61 74 65 3a 20 | 32 32 20 41 75 67 20 31 |).Date: |22 Aug 1|
|00002570| 39 39 34 20 31 33 3a 33 | 32 3a 34 32 20 47 4d 54 |994 13:3|2:42 GMT|
|00002580| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 48 |.Organiz|ation: H|
|00002590| 65 61 6c 74 68 20 43 61 | 6e 61 64 61 0d 0d 48 61 |ealth Ca|nada..Ha|
|000025a0| 72 74 6d 75 74 20 4b 6f | 63 68 65 72 20 55 53 2f |rtmut Ko|cher US/|
|000025b0| 45 53 41 20 36 30 2f 31 | 4c 2f 32 3f 20 23 35 36 |ESA 60/1|L/2? #56|
|000025c0| 32 39 20 28 6b 6f 63 68 | 65 72 40 6c 74 73 2e 73 |29 (koch|er@lts.s|
|000025d0| 65 6c 2e 61 6c 63 61 74 | 65 6c 2e 64 65 29 20 77 |el.alcat|el.de) w|
|000025e0| 72 6f 74 65 3a 0d 3a 20 | 48 6f 77 20 63 61 6e 20 |rote:.: |How can |
|000025f0| 49 20 73 65 74 20 74 68 | 65 20 74 69 6d 65 6f 75 |I set th|e timeou|
|00002600| 74 20 76 61 6c 75 65 2c | 20 73 6f 20 6d 79 20 73 |t value,| so my s|
|00002610| 63 72 69 70 74 20 69 73 | 20 77 69 6c 6c 69 6e 67 |cript is| willing|
|00002620| 20 74 6f 20 77 61 69 74 | 0d 3a 20 6c 6f 6e 67 65 | to wait|.: longe|
|00002630| 72 20 66 72 6f 20 61 20 | 72 65 70 6c 79 3f 0d 0d |r fro a |reply?..|
|00002640| 77 69 74 68 20 74 69 6d | 65 6f 75 74 20 6f 66 20 |with tim|eout of |
|00002650| 23 23 23 23 20 73 65 63 | 6f 6e 64 73 0d 20 20 20 |#### sec|onds. |
|00002660| 20 20 2e 0d 20 20 20 20 | 20 2e 0d 20 20 20 20 20 | .. | .. |
|00002670| 2e 0d 65 6e 64 20 74 69 | 6d 65 6f 75 74 0d 0d 2b |..end ti|meout..+|
|00002680| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002690| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 0d 0d 3e 46 72 6f |++++++++|++..>Fro|
|000026a0| 6d 20 65 6e 67 65 6c 68 | 61 72 40 62 67 61 2e 63 |m engelh|ar@bga.c|
|000026b0| 6f 6d 20 28 4d 69 63 68 | 61 65 6c 20 45 6e 67 65 |om (Mich|ael Enge|
|000026c0| 6c 68 61 72 74 29 0d 44 | 61 74 65 3a 20 32 32 20 |lhart).D|ate: 22 |
|000026d0| 41 75 67 20 31 39 39 34 | 20 31 35 3a 33 38 3a 30 |Aug 1994| 15:38:0|
|000026e0| 39 20 47 4d 54 0d 4f 72 | 67 61 6e 69 7a 61 74 69 |9 GMT.Or|ganizati|
|000026f0| 6f 6e 3a 20 41 70 70 6c | 65 20 54 72 61 76 65 6c |on: Appl|e Travel|
|00002700| 0d 0d 49 6e 20 61 72 74 | 69 63 6c 65 20 3c 31 39 |..In art|icle <19|
|00002710| 39 34 41 75 67 32 32 2e | 30 38 33 33 33 35 2e 32 |94Aug22.|083335.2|
|00002720| 35 38 35 33 40 6c 74 73 | 2e 73 65 6c 2e 61 6c 63 |5853@lts|.sel.alc|
|00002730| 61 74 65 6c 2e 64 65 3e | 2c 0d 6b 6f 63 68 65 72 |atel.de>|,.kocher|
|00002740| 40 6c 74 73 2e 73 65 6c | 2e 61 6c 63 61 74 65 6c |@lts.sel|.alcatel|
|00002750| 2e 64 65 20 28 48 61 72 | 74 6d 75 74 20 4b 6f 63 |.de (Har|tmut Koc|
|00002760| 68 65 72 20 55 53 2f 45 | 53 41 20 36 30 2f 31 4c |her US/E|SA 60/1L|
|00002770| 2f 32 3f 20 23 35 36 32 | 39 29 20 77 72 6f 74 65 |/2? #562|9) wrote|
|00002780| 3a 0d 0d 3e 20 49 27 76 | 65 20 77 72 69 74 74 65 |:..> I'v|e writte|
|00002790| 6e 20 61 20 73 6d 61 6c | 6c 20 41 70 70 6c 65 53 |n a smal|l AppleS|
|000027a0| 63 72 69 70 74 2c 20 74 | 68 61 74 20 63 6f 70 69 |cript, t|hat copi|
|000027b0| 65 73 20 61 20 66 65 77 | 20 66 6f 6c 64 65 72 73 |es a few| folders|
|000027c0| 20 61 72 6f 75 6e 64 0d | 3e 20 75 73 69 6e 67 20 | around.|> using |
|000027d0| 74 68 65 20 73 63 72 69 | 70 74 61 62 6c 65 20 46 |the scri|ptable F|
|000027e0| 69 6e 64 65 72 2e 20 4d | 79 20 70 72 6f 62 6c 65 |inder. M|y proble|
|000027f0| 6d 20 69 73 20 74 68 61 | 74 20 69 66 20 6f 6e 65 |m is tha|t if one|
|00002800| 20 6f 66 20 74 68 65 73 | 65 20 66 6f 6c 64 65 72 | of thes|e folder|
|00002810| 73 0d 3e 20 68 6f 6c 64 | 73 20 6d 61 6e 79 20 66 |s.> hold|s many f|
|00002820| 69 6c 65 73 2c 20 74 68 | 65 20 72 65 70 6c 79 20 |iles, th|e reply |
|00002830| 66 72 6f 6d 20 74 68 65 | 20 46 69 6e 64 65 72 20 |from the| Finder |
|00002840| 74 61 6b 65 73 20 74 6f | 6f 20 6c 6f 6e 67 20 61 |takes to|o long a|
|00002850| 6e 64 20 74 68 65 0d 3e | 20 72 65 70 6c 79 20 74 |nd the.>| reply t|
|00002860| 69 6d 65 73 20 6f 75 74 | 20 28 61 62 6f 72 74 69 |imes out| (aborti|
|00002870| 6e 67 20 74 68 65 20 73 | 63 72 69 70 74 20 3a 2d |ng the s|cript :-|
|00002880| 28 20 29 2e 0d 3e 20 0d | 3e 20 48 6f 77 20 63 61 |( )..> .|> How ca|
|00002890| 6e 20 49 20 73 65 74 20 | 74 68 65 20 74 69 6d 65 |n I set |the time|
|000028a0| 6f 75 74 20 76 61 6c 75 | 65 2c 20 73 6f 20 6d 79 |out valu|e, so my|
|000028b0| 20 73 63 72 69 70 74 20 | 69 73 20 77 69 6c 6c 69 | script |is willi|
|000028c0| 6e 67 20 74 6f 20 77 61 | 69 74 0d 3e 20 6c 6f 6e |ng to wa|it.> lon|
|000028d0| 67 65 72 20 66 72 6f 20 | 61 20 72 65 70 6c 79 3f |ger fro |a reply?|
|000028e0| 0d 3e 20 0d 3e 20 54 68 | 61 6e 6b 73 20 66 6f 72 |.> .> Th|anks for|
|000028f0| 20 79 6f 75 72 20 73 75 | 67 67 65 73 74 69 6f 6e | your su|ggestion|
|00002900| 73 2e 0d 3e 20 0d 3e 20 | 2d 2d 20 0d 3e 20 2b 3d |s..> .> |-- .> +=|
|00002910| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002920| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 7c 3d 3d |========|=====|==|
|00002930| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002940| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 2b 0d 3e 20 |========|====+.> |
|00002950| 7c 20 48 61 72 74 6d 75 | 74 20 4b 6f 63 68 65 72 || Hartmu|t Kocher|
|00002960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00002970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7c 0d | | |.|
|00002990| 3e 20 7c 20 54 65 63 68 | 6e 69 63 61 6c 20 43 6f |> | Tech|nical Co|
|000029a0| 6e 73 75 6c 74 61 6e 74 | 20 20 20 20 20 20 20 20 |nsultant| |
|000029b0| 20 7c 20 41 6c 6c 20 6f | 70 69 6e 69 6f 6e 73 20 | | All o|pinions |
|000029c0| 65 78 70 72 65 73 73 65 | 64 20 68 65 72 65 20 20 |expresse|d here |
|000029d0| 7c 0d 3e 20 7c 20 52 61 | 74 69 6f 6e 61 6c 20 47 ||.> | Ra|tional G|
|000029e0| 6d 62 48 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |mbH | |
|000029f0| 20 20 20 7c 20 61 72 65 | 20 6d 79 20 6f 77 6e 2e | | are| my own.|
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a10| 20 20 7c 0d 3e 20 7c 20 | 52 6f 73 65 6e 73 74 72 | |.> | |Rosenstr|
|00002a20| 61 73 73 65 20 37 20 20 | 20 20 20 20 20 20 20 20 |asse 7 | |
|00002a30| 20 20 20 20 20 7c 20 20 | 20 20 20 20 20 20 20 20 | | | |
|00002a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a50| 20 20 20 20 7c 0d 3e 20 | 7c 20 38 32 30 34 39 20 | |.> || 82049 |
|00002a60| 50 75 6c 6c 61 63 68 20 | 69 6d 20 49 73 61 72 74 |Pullach |im Isart|
|00002a70| 61 6c 20 20 20 20 20 7c | 20 49 20 6b 6e 6f 77 20 |al || I know |
|00002a80| 79 6f 75 20 67 75 65 73 | 73 65 64 20 69 74 2c 20 |you gues|sed it, |
|00002a90| 20 20 20 20 20 20 7c 0d | 3e 20 7c 20 47 65 72 6d | |.|> | Germ|
|00002aa0| 61 6e 79 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |any | |
|00002ab0| 20 20 20 20 20 20 20 20 | 20 7c 20 62 75 74 20 69 | | | but i|
|00002ac0| 74 20 6b 65 65 70 73 20 | 6d 79 20 6c 61 77 79 65 |t keeps |my lawye|
|00002ad0| 72 20 68 61 70 70 79 2e | 7c 0d 3e 20 7c 20 45 6d |r happy.||.> | Em|
|00002ae0| 61 69 6c 3a 20 68 77 6b | 40 72 61 74 69 6f 6e 61 |ail: hwk|@rationa|
|00002af0| 6c 2e 63 6f 6d 20 20 20 | 20 20 20 7c 20 20 20 20 |l.com | | |
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 7c 0d 3e 20 2b 3d | | |.> +=|
|00002b20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 7c 3d 3d |========|=====|==|
|00002b40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 2b 0d 0d 0d |========|====+...|
|00002b60| 48 61 72 74 6d 75 74 2c | 0d 0d 73 69 6d 70 6c 79 |Hartmut,|..simply|
|00002b70| 20 65 6e 63 6c 6f 73 65 | 20 79 6f 75 72 20 72 6f | enclose| your ro|
|00002b80| 75 74 69 6e 65 20 77 69 | 74 68 20 74 68 65 20 66 |utine wi|th the f|
|00002b90| 6f 6c 6c 6f 77 69 6e 67 | 3a 0d 0d 77 69 74 68 20 |ollowing|:..with |
|00002ba0| 74 69 6d 65 6f 75 74 20 | 6f 66 20 34 30 30 20 73 |timeout |of 400 s|
|00002bb0| 65 63 6f 6e 64 73 20 2d | 2d 75 73 65 20 61 6e 79 |econds -|-use any|
|00002bc0| 20 76 61 6c 75 65 20 79 | 6f 75 20 77 61 6e 74 2c | value y|ou want,|
|00002bd0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | the def|ault is |
|00002be0| 31 32 30 0d 73 65 63 6f | 6e 64 73 0d 20 09 79 6f |120.seco|nds. .yo|
|00002bf0| 75 72 20 72 6f 75 74 69 | 6e 65 0d 65 6e 64 20 74 |ur routi|ne.end t|
|00002c00| 69 6d 65 6f 75 74 0d 0d | 4d 69 6b 65 0d 0d 2d 2d |imeout..|Mike..--|
|00002c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 3e 46 72 6f 6d |--------|-..>From|
|00002c30| 20 6a 70 65 6b 40 75 6d | 69 63 68 2e 65 64 75 20 | jpek@um|ich.edu |
|00002c40| 28 4a 65 66 66 20 50 65 | 6b 29 0d 53 75 62 6a 65 |(Jeff Pe|k).Subje|
|00002c50| 63 74 3a 20 43 2b 2b 20 | 56 69 72 74 75 61 6c 20 |ct: C++ |Virtual |
|00002c60| 44 65 73 74 72 75 63 74 | 6f 72 20 51 0d 44 61 74 |Destruct|or Q.Dat|
|00002c70| 65 3a 20 31 39 20 41 75 | 67 20 31 39 39 34 20 32 |e: 19 Au|g 1994 2|
|00002c80| 32 3a 30 35 3a 30 38 20 | 47 4d 54 0d 4f 72 67 61 |2:05:08 |GMT.Orga|
|00002c90| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 20 6f 66 20 4d |nization|: U of M|
|00002ca0| 69 63 68 20 28 4d 42 41 | 29 0d 0d 49 20 77 6f 6e |ich (MBA|)..I won|
|00002cb0| 64 65 72 20 69 66 20 73 | 6f 6d 65 6f 6e 65 20 63 |der if s|omeone c|
|00002cc0| 6f 75 6c 64 20 63 6c 65 | 61 72 20 74 68 65 20 61 |ould cle|ar the a|
|00002cd0| 69 72 20 61 72 6f 75 6e | 64 20 6f 75 72 20 6f 66 |ir aroun|d our of|
|00002ce0| 66 69 63 65 20 61 62 6f | 75 74 20 77 68 79 0d 76 |fice abo|ut why.v|
|00002cf0| 69 72 74 75 61 6c 20 64 | 65 73 74 72 75 63 74 6f |irtual d|estructo|
|00002d00| 72 73 20 73 68 6f 75 6c | 64 20 6f 72 20 73 68 6f |rs shoul|d or sho|
|00002d10| 75 6c 64 20 6e 6f 74 20 | 62 65 20 75 73 65 64 2e |uld not |be used.|
|00002d20| 20 53 70 65 63 69 66 69 | 63 61 6c 6c 79 2c 20 49 | Specifi|cally, I|
|00002d30| 27 6d 0d 69 6e 74 65 72 | 65 73 74 65 64 20 69 6e |'m.inter|ested in|
|00002d40| 20 4d 65 74 72 6f 77 65 | 72 6b 73 27 20 63 6f 6d | Metrowe|rks' com|
|00002d50| 70 69 6c 65 72 27 73 20 | 69 6d 70 6c 65 6d 65 6e |piler's |implemen|
|00002d60| 74 61 74 69 6f 6e 2e 0d | 0d 31 29 20 57 68 79 20 |tation..|.1) Why |
|00002d70| 77 6f 75 6c 64 20 49 20 | 77 61 6e 74 20 74 6f 2f |would I |want to/|
|00002d80| 6e 65 65 64 20 74 6f 20 | 64 65 63 6c 61 72 65 20 |need to |declare |
|00002d90| 61 20 64 65 73 74 72 75 | 63 74 6f 72 20 76 69 72 |a destru|ctor vir|
|00002da0| 74 75 61 6c 3f 0d 32 29 | 20 57 68 61 74 20 68 61 |tual?.2)| What ha|
|00002db0| 70 70 65 6e 73 20 69 66 | 20 49 20 64 6f 6e 27 74 |ppens if| I don't|
|00002dc0| 3f 0d 0d 54 68 61 6e 6b | 73 20 76 65 72 79 20 6d |?..Thank|s very m|
|00002dd0| 75 63 68 21 0d 4a 65 66 | 66 0d 0d 2d 20 2d 2d 2d |uch!.Jef|f..- ---|
|00002de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002e00| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 4a 65 66 66 20 50 65 |--------|.Jeff Pe|
|00002e10| 6b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k | |
|00002e20| 20 20 20 20 20 20 20 20 | 6a 70 65 6b 40 75 6d 69 | |jpek@umi|
|00002e30| 63 68 2e 65 64 75 0d 45 | 6d 65 72 61 6c 64 20 49 |ch.edu.E|merald I|
|00002e40| 6e 74 65 6c 6c 69 67 65 | 6e 63 65 20 2f 20 55 6e |ntellige|nce / Un|
|00002e50| 69 76 65 72 73 69 74 79 | 20 6f 66 20 4d 69 63 68 |iversity| of Mich|
|00002e60| 69 67 61 6e 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |igan..++|++++++++|
|00002e70| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002e80| 2b 0d 0d 3e 46 72 6f 6d | 20 6d 77 72 6f 6e 40 61 |+..>From| mwron@a|
|00002e90| 6f 6c 2e 63 6f 6d 20 28 | 4d 57 20 52 6f 6e 29 0d |ol.com (|MW Ron).|
|00002ea0| 44 61 74 65 3a 20 31 39 | 20 41 75 67 20 31 39 39 |Date: 19| Aug 199|
|00002eb0| 34 20 31 39 3a 34 34 3a | 30 36 20 2d 30 34 30 30 |4 19:44:|06 -0400|
|00002ec0| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 41 |.Organiz|ation: A|
|00002ed0| 6d 65 72 69 63 61 20 4f | 6e 6c 69 6e 65 2c 20 49 |merica O|nline, I|
|00002ee0| 6e 63 2e 20 28 31 2d 38 | 30 30 2d 38 32 37 2d 36 |nc. (1-8|00-827-6|
|00002ef0| 33 36 34 29 0d 0d 49 6e | 20 61 72 74 69 63 6c 65 |364)..In| article|
|00002f00| 20 3c 33 33 33 61 61 6b | 24 66 6a 38 40 6c 61 73 | <333aak|$fj8@las|
|00002f10| 74 61 63 74 69 6f 6e 68 | 65 72 6f 2e 72 73 2e 69 |tactionh|ero.rs.i|
|00002f20| 74 64 2e 75 6d 69 63 68 | 2e 65 64 75 3e 2c 20 6a |td.umich|.edu>, j|
|00002f30| 70 65 6b 40 75 6d 69 63 | 68 2e 65 64 75 0d 28 4a |pek@umic|h.edu.(J|
|00002f40| 65 66 66 20 50 65 6b 29 | 20 77 72 69 74 65 73 3a |eff Pek)| writes:|
|00002f50| 0d 0d 3e 3e 31 29 20 57 | 68 79 20 77 6f 75 6c 64 |..>>1) W|hy would|
|00002f60| 20 49 20 77 61 6e 74 20 | 74 6f 2f 6e 65 65 64 20 | I want |to/need |
|00002f70| 74 6f 20 64 65 63 6c 61 | 72 65 20 61 20 64 65 73 |to decla|re a des|
|00002f80| 74 72 75 63 74 6f 72 20 | 76 69 72 74 75 61 6c 3f |tructor |virtual?|
|00002f90| 0d 3e 3e 32 29 20 57 68 | 61 74 20 68 61 70 70 65 |.>>2) Wh|at happe|
|00002fa0| 6e 73 20 69 66 20 49 20 | 64 6f 6e 27 74 3f 0d 0d |ns if I |don't?..|
|00002fb0| 31 29 20 59 6f 75 20 6e | 65 65 64 20 74 6f 20 64 |1) You n|eed to d|
|00002fc0| 65 63 6c 61 72 65 20 61 | 20 76 69 72 74 75 61 6c |eclare a| virtual|
|00002fd0| 20 64 65 73 74 72 75 63 | 74 6f 72 20 77 68 65 6e | destruc|tor when|
|00002fe0| 20 79 6f 75 20 68 61 76 | 65 20 61 20 62 61 73 65 | you hav|e a base|
|00002ff0| 20 63 6c 61 73 73 2c 0d | 69 74 73 20 64 65 73 74 | class,.|its dest|
|00003000| 72 75 63 74 6f 72 20 69 | 73 20 64 69 66 66 65 72 |ructor i|s differ|
|00003010| 65 6e 74 20 74 68 61 6e | 20 74 68 65 20 64 65 72 |ent than| the der|
|00003020| 69 76 65 64 20 63 6c 61 | 73 73 65 73 20 64 65 73 |ived cla|sses des|
|00003030| 74 72 75 63 74 6f 72 2c | 20 61 6e 64 0d 6f 62 6a |tructor,| and.obj|
|00003040| 65 63 74 73 20 61 72 65 | 20 64 65 6c 65 74 65 64 |ects are| deleted|
|00003050| 20 76 69 61 20 70 6f 69 | 6e 74 65 72 20 6f 72 20 | via poi|nter or |
|00003060| 72 65 66 65 72 6e 63 65 | 20 74 6f 20 62 61 73 65 |refernce| to base|
|00003070| 20 63 6c 61 73 73 2e 20 | 28 20 61 20 67 6f 6f 64 | class. |( a good|
|00003080| 20 68 61 62 69 74 2c 0d | 64 65 63 6c 61 72 65 20 | habit,.|declare |
|00003090| 69 74 20 66 6f 72 20 61 | 6c 6c 20 62 61 73 65 20 |it for a|ll base |
|000030a0| 63 6c 61 73 73 65 73 20 | 29 0d 0d 32 29 20 69 66 |classes |)..2) if|
|000030b0| 20 79 6f 75 20 64 6f 6e | 27 74 2c 20 79 6f 75 20 | you don|'t, you |
|000030c0| 77 69 6c 6c 20 6e 6f 74 | 20 67 75 61 72 61 6e 74 |will not| guarant|
|000030d0| 65 65 20 61 6c 6c 20 6f | 62 6a 65 63 74 73 20 77 |ee all o|bjects w|
|000030e0| 69 6c 6c 20 62 65 20 64 | 65 6c 65 74 65 64 20 77 |ill be d|eleted w|
|000030f0| 68 65 6e 0d 61 6e 20 6f | 62 6a 65 63 74 20 69 73 |hen.an o|bject is|
|00003100| 20 64 65 6c 65 74 65 64 | 2c 20 69 66 20 69 74 20 | deleted|, if it |
|00003110| 69 73 20 61 63 63 65 73 | 73 65 64 20 61 73 20 61 |is acces|sed as a|
|00003120| 20 62 61 73 65 20 63 6c | 61 73 73 20 70 6f 69 74 | base cl|ass poit|
|00003130| 65 72 2e 0d 20 0d 53 63 | 6f 74 74 20 4d 65 79 65 |er.. .Sc|ott Meye|
|00003140| 72 73 20 69 6e 20 45 66 | 66 65 63 74 69 76 65 20 |rs in Ef|fective |
|00003150| 43 2b 2b 20 65 78 70 6c | 61 69 6e 73 20 74 68 69 |C++ expl|ains thi|
|00003160| 73 20 71 75 69 74 65 20 | 77 65 6c 6c 2e 0d 0d 52 |s quite |well...R|
|00003170| 6f 6e 20 4c 69 65 63 68 | 74 79 0d 52 6f 6e 4c 40 |on Liech|ty.RonL@|
|00003180| 6d 65 74 72 6f 77 65 72 | 6b 73 2e 63 6f 6d 0d 4d |metrower|ks.com.M|
|00003190| 65 74 72 6f 77 65 72 6b | 73 20 49 6e 63 2e 0d 0d |etrowerk|s Inc...|
|000031a0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000031b0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|000031c0| 6f 6d 20 6e 65 65 72 69 | 40 69 69 73 2e 65 65 2e |om neeri|@iis.ee.|
|000031d0| 65 74 68 7a 2e 63 68 20 | 28 4d 61 74 74 68 69 61 |ethz.ch |(Matthia|
|000031e0| 73 20 4e 65 65 72 61 63 | 68 65 72 29 0d 44 61 74 |s Neerac|her).Dat|
|000031f0| 65 3a 20 31 39 20 41 75 | 67 20 31 39 39 34 20 32 |e: 19 Au|g 1994 2|
|00003200| 33 3a 31 39 3a 33 32 20 | 47 4d 54 0d 4f 72 67 61 |3:19:32 |GMT.Orga|
|00003210| 6e 69 7a 61 74 69 6f 6e | 3a 20 53 77 69 73 73 20 |nization|: Swiss |
|00003220| 46 65 64 65 72 61 6c 20 | 49 6e 73 74 69 74 75 74 |Federal |Institut|
|00003230| 65 20 6f 66 20 54 65 63 | 68 6e 6f 6c 6f 67 79 20 |e of Tec|hnology |
|00003240| 28 45 54 48 5a 29 0d 0d | 6a 70 65 6b 40 75 6d 69 |(ETHZ)..|jpek@umi|
|00003250| 63 68 2e 65 64 75 20 28 | 4a 65 66 66 20 50 65 6b |ch.edu (|Jeff Pek|
|00003260| 29 20 77 72 69 74 65 73 | 3a 0d 3e 49 20 77 6f 6e |) writes|:.>I won|
|00003270| 64 65 72 20 69 66 20 73 | 6f 6d 65 6f 6e 65 20 63 |der if s|omeone c|
|00003280| 6f 75 6c 64 20 63 6c 65 | 61 72 20 74 68 65 20 61 |ould cle|ar the a|
|00003290| 69 72 20 61 72 6f 75 6e | 64 20 6f 75 72 20 6f 66 |ir aroun|d our of|
|000032a0| 66 69 63 65 20 61 62 6f | 75 74 20 77 68 79 0d 3e |fice abo|ut why.>|
|000032b0| 76 69 72 74 75 61 6c 20 | 64 65 73 74 72 75 63 74 |virtual |destruct|
|000032c0| 6f 72 73 20 73 68 6f 75 | 6c 64 20 6f 72 20 73 68 |ors shou|ld or sh|
|000032d0| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 75 73 65 64 |ould not| be used|
|000032e0| 2e 20 53 70 65 63 69 66 | 69 63 61 6c 6c 79 2c 20 |. Specif|ically, |
|000032f0| 49 27 6d 0d 3e 69 6e 74 | 65 72 65 73 74 65 64 20 |I'm.>int|erested |
|00003300| 69 6e 20 4d 65 74 72 6f | 77 65 72 6b 73 27 20 63 |in Metro|werks' c|
|00003310| 6f 6d 70 69 6c 65 72 27 | 73 20 69 6d 70 6c 65 6d |ompiler'|s implem|
|00003320| 65 6e 74 61 74 69 6f 6e | 2e 0d 0d 3e 31 29 20 57 |entation|...>1) W|
|00003330| 68 79 20 77 6f 75 6c 64 | 20 49 20 77 61 6e 74 20 |hy would| I want |
|00003340| 74 6f 2f 6e 65 65 64 20 | 74 6f 20 64 65 63 6c 61 |to/need |to decla|
|00003350| 72 65 20 61 20 64 65 73 | 74 72 75 63 74 6f 72 20 |re a des|tructor |
|00003360| 76 69 72 74 75 61 6c 3f | 0d 0d 41 73 20 61 20 72 |virtual?|..As a r|
|00003370| 75 6c 65 20 6f 66 20 74 | 68 75 6d 62 2c 20 61 73 |ule of t|humb, as|
|00003380| 20 73 6f 6f 6e 20 61 73 | 20 79 6f 75 20 68 61 76 | soon as| you hav|
|00003390| 65 20 61 20 76 69 72 74 | 75 61 6c 20 66 75 6e 63 |e a virt|ual func|
|000033a0| 74 69 6f 6e 20 66 6f 72 | 20 61 20 63 6c 61 73 73 |tion for| a class|
|000033b0| 2c 0d 79 6f 75 20 73 68 | 6f 75 6c 64 20 61 6c 73 |,.you sh|ould als|
|000033c0| 6f 20 68 61 76 65 20 61 | 20 76 69 72 74 75 61 6c |o have a| virtual|
|000033d0| 20 64 65 73 74 72 75 63 | 74 69 6f 6e 2e 0d 0d 3e | destruc|tion...>|
|000033e0| 32 29 20 57 68 61 74 20 | 68 61 70 70 65 6e 73 20 |2) What |happens |
|000033f0| 69 66 20 49 20 64 6f 6e | 27 74 3f 0d 0d 41 73 20 |if I don|'t?..As |
|00003400| 61 6e 20 65 78 61 6d 70 | 6c 65 2c 20 74 61 6b 65 |an examp|le, take|
|00003410| 3a 0d 0d 63 6c 61 73 73 | 20 41 20 2e 2e 2e 0d 63 |:..class| A ....c|
|00003420| 6c 61 73 73 20 42 20 3a | 20 70 75 62 6c 69 63 20 |lass B :| public |
|00003430| 41 20 2e 2e 2e 0d 0d 41 | 20 2a 20 70 61 20 3d 20 |A .....A| * pa = |
|00003440| 6e 65 77 20 42 3b 0d 0d | 64 65 6c 65 74 65 20 70 |new B;..|delete p|
|00003450| 61 3b 0d 0d 55 6e 6c 65 | 73 73 20 41 20 68 61 73 |a;..Unle|ss A has|
|00003460| 20 61 20 76 69 72 74 75 | 61 6c 20 64 65 73 74 72 | a virtu|al destr|
|00003470| 75 63 74 6f 72 2c 20 6e | 6f 20 64 65 73 74 72 75 |uctor, n|o destru|
|00003480| 63 74 6f 72 20 66 6f 72 | 20 42 20 77 69 6c 6c 20 |ctor for| B will |
|00003490| 62 65 20 65 78 65 63 75 | 74 65 64 20 6f 6e 20 74 |be execu|ted on t|
|000034a0| 68 65 0d 6f 62 6a 65 63 | 74 20 70 6f 69 6e 74 65 |he.objec|t pointe|
|000034b0| 64 20 74 6f 20 62 79 20 | 70 61 2c 20 77 68 69 63 |d to by |pa, whic|
|000034c0| 68 20 69 73 20 77 6f 75 | 6c 64 20 6f 66 74 65 6e |h is wou|ld often|
|000034d0| 20 62 65 20 64 65 73 69 | 72 61 62 6c 65 2e 0d 0d | be desi|rable...|
|000034e0| 4d 61 74 74 68 69 61 73 | 0d 0d 2d 20 2d 2d 2d 0d |Matthias|..- ---.|
|000034f0| 4d 61 74 74 68 69 61 73 | 20 4e 65 65 72 61 63 68 |Matthias| Neerach|
|00003500| 65 72 20 3c 6e 65 65 72 | 69 40 69 69 73 2e 65 65 |er <neer|i@iis.ee|
|00003510| 2e 65 74 68 7a 2e 63 68 | 3e 20 68 74 74 70 3a 2f |.ethz.ch|> http:/|
|00003520| 2f 65 72 72 2e 65 74 68 | 7a 2e 63 68 2f 6d 65 6d |/err.eth|z.ch/mem|
|00003530| 62 65 72 73 2f 6e 65 65 | 72 69 2e 68 74 6d 6c 0d |bers/nee|ri.html.|
|00003540| 20 20 20 22 54 68 65 72 | 65 20 6f 6e 63 65 20 77 | "Ther|e once w|
|00003550| 61 73 20 61 6e 20 41 67 | 65 20 6f 66 20 52 65 61 |as an Ag|e of Rea|
|00003560| 73 6f 6e 2c 20 62 75 74 | 20 77 65 27 76 65 20 70 |son, but| we've p|
|00003570| 72 6f 67 72 65 73 73 65 | 64 20 62 65 79 6f 6e 64 |rogresse|d beyond|
|00003580| 20 69 74 2e 22 0d 20 20 | 20 20 20 20 20 20 20 20 | it.". | |
|00003590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000035a0| 20 20 20 20 20 20 20 20 | 20 2d 2d 20 41 79 6e 20 | | -- Ayn |
|000035b0| 52 61 6e 64 2c 20 5f 41 | 74 6c 61 73 20 53 68 72 |Rand, _A|tlas Shr|
|000035c0| 75 67 67 65 64 5f 0d 0d | 2b 2b 2b 2b 2b 2b 2b 2b |ugged_..|++++++++|
|000035d0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000035e0| 2b 2b 2b 0d 0d 3e 46 72 | 6f 6d 20 67 75 72 67 6c |+++..>Fr|om gurgl|
|000035f0| 65 40 64 6e 61 69 2e 63 | 6f 6d 20 28 50 65 74 65 |e@dnai.c|om (Pete|
|00003600| 20 47 6f 6e 74 69 65 72 | 29 0d 44 61 74 65 3a 20 | Gontier|).Date: |
|00003610| 46 72 69 2c 20 31 39 20 | 41 75 67 20 31 39 39 34 |Fri, 19 |Aug 1994|
|00003620| 20 32 30 3a 31 37 3a 33 | 34 20 2d 30 38 30 30 0d | 20:17:3|4 -0800.|
|00003630| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 49 6e |Organiza|tion: In|
|00003640| 74 65 67 65 72 20 50 6f | 65 74 20 53 6f 66 74 77 |teger Po|et Softw|
|00003650| 61 72 65 0d 0d 49 6e 20 | 61 72 74 69 63 6c 65 20 |are..In |article |
|00003660| 3c 33 33 33 61 61 6b 24 | 66 6a 38 40 6c 61 73 74 |<333aak$|fj8@last|
|00003670| 61 63 74 69 6f 6e 68 65 | 72 6f 2e 72 73 2e 69 74 |actionhe|ro.rs.it|
|00003680| 64 2e 75 6d 69 63 68 2e | 65 64 75 3e 2c 20 6a 70 |d.umich.|edu>, jp|
|00003690| 65 6b 40 75 6d 69 63 68 | 2e 65 64 75 0d 28 4a 65 |ek@umich|.edu.(Je|
|000036a0| 66 66 20 50 65 6b 29 20 | 77 72 6f 74 65 3a 0d 0d |ff Pek) |wrote:..|
|000036b0| 3e 20 31 29 20 57 68 79 | 20 77 6f 75 6c 64 20 49 |> 1) Why| would I|
|000036c0| 20 77 61 6e 74 20 74 6f | 2f 6e 65 65 64 20 74 6f | want to|/need to|
|000036d0| 20 64 65 63 6c 61 72 65 | 20 61 20 28 43 2b 2b 29 | declare| a (C++)|
|000036e0| 20 64 65 73 74 72 75 63 | 74 6f 72 20 76 69 72 74 | destruc|tor virt|
|000036f0| 75 61 6c 3f 0d 3e 20 32 | 29 20 57 68 61 74 20 68 |ual?.> 2|) What h|
|00003700| 61 70 70 65 6e 73 20 69 | 66 20 49 20 64 6f 6e 27 |appens i|f I don'|
|00003710| 74 3f 0d 0d 54 68 65 20 | 41 6e 6e 6f 74 61 74 65 |t?..The |Annotate|
|00003720| 64 20 43 2b 2b 20 52 65 | 66 65 72 65 6e 63 65 20 |d C++ Re|ference |
|00003730| 4d 61 6e 75 61 6c 20 28 | 63 6f 6d 6d 6f 6e 6c 79 |Manual (|commonly|
|00003740| 20 6b 6e 6f 77 6e 20 61 | 73 20 22 74 68 65 20 41 | known a|s "the A|
|00003750| 52 4d 22 29 2c 20 45 6c | 6c 69 73 0d 61 6e 64 20 |RM"), El|lis.and |
|00003760| 53 74 72 6f 75 73 74 75 | 70 2c 20 49 53 42 4e 2c |Stroustu|p, ISBN,|
|00003770| 20 30 2d 32 30 31 2d 35 | 31 34 35 39 2d 31 2c 20 | 0-201-5|1459-1, |
|00003780| 63 68 61 70 74 65 72 20 | 31 32 2e 34 20 28 70 61 |chapter |12.4 (pa|
|00003790| 67 65 20 32 37 36 20 69 | 6e 20 6d 79 0d 70 72 69 |ge 276 i|n my.pri|
|000037a0| 6e 74 69 6e 67 29 2e 0d | 0d 41 6e 64 20 61 20 6e |nting)..|.And a n|
|000037b0| 6f 74 65 20 74 6f 20 61 | 69 64 20 69 6e 20 79 6f |ote to a|id in yo|
|000037c0| 75 72 20 72 65 61 64 69 | 6e 67 3a 20 6e 6f 6e 2d |ur readi|ng: non-|
|000037d0| 76 69 72 74 75 61 6c 20 | 64 65 73 74 72 75 63 74 |virtual |destruct|
|000037e0| 6f 72 73 20 61 72 65 20 | 74 68 65 0d 65 78 63 65 |ors are |the.exce|
|000037f0| 70 74 69 6f 6e 20 28 6e | 6f 20 70 75 6e 20 69 6e |ption (n|o pun in|
|00003800| 74 65 6e 64 65 64 29 2c | 20 6e 6f 74 20 74 68 65 |tended),| not the|
|00003810| 20 72 75 6c 65 2e 0d 0d | 2d 2d 20 0d 20 50 65 74 | rule...|-- . Pet|
|00003820| 65 20 47 6f 6e 74 69 65 | 72 20 2f 2f 20 43 54 4f |e Gontie|r // CTO|
|00003830| 2c 20 49 6e 74 65 67 65 | 72 20 50 6f 65 74 20 53 |, Intege|r Poet S|
|00003840| 6f 66 74 77 61 72 65 20 | 2f 2f 20 67 75 72 67 6c |oftware |// gurgl|
|00003850| 65 40 64 6e 61 69 2e 63 | 6f 6d 0d 0d 20 22 45 76 |e@dnai.c|om.. "Ev|
|00003860| 65 6e 20 64 75 72 69 6e | 67 20 61 20 70 61 72 74 |en durin|g a part|
|00003870| 69 63 75 6c 61 72 6c 79 | 20 68 61 72 73 68 20 28 |icularly| harsh (|
|00003880| 43 6f 6c 6f 72 61 64 6f | 29 20 77 69 6e 74 65 72 |Colorado|) winter|
|00003890| 2e 2e 2e 20 6d 61 6e 79 | 20 6f 66 20 74 68 65 0d |... many| of the.|
|000038a0| 20 33 30 30 20 66 61 6d | 69 6c 69 65 73 20 69 6e | 300 fam|ilies in|
|000038b0| 20 74 68 65 20 56 43 54 | 56 20 28 6d 6f 76 69 65 | the VCT|V (movie|
|000038c0| 73 2d 6f 6e 2d 64 65 6d | 61 6e 64 29 20 74 72 69 |s-on-dem|and) tri|
|000038d0| 61 6c 20 63 6f 6e 74 69 | 6e 75 65 64 20 74 6f 20 |al conti|nued to |
|000038e0| 67 6f 0d 20 74 6f 20 76 | 69 64 65 6f 20 73 74 6f |go. to v|ideo sto|
|000038f0| 72 65 73 2e 22 20 2d 2d | 20 65 69 73 40 6d 75 72 |res." --| eis@mur|
|00003900| 72 6f 77 2e 74 75 66 74 | 73 2e 65 64 75 2c 20 69 |row.tuft|s.edu, i|
|00003910| 6e 20 57 69 72 65 64 20 | 32 2e 30 39 20 70 36 32 |n Wired |2.09 p62|
|00003920| 0d 0d 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |..++++++|++++++++|
|00003930| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 0d 0d 3e |++++++++|+++++..>|
|00003940| 46 72 6f 6d 20 6d 77 72 | 6f 6e 40 61 6f 6c 2e 63 |From mwr|on@aol.c|
|00003950| 6f 6d 20 28 4d 57 20 52 | 6f 6e 29 0d 44 61 74 65 |om (MW R|on).Date|
|00003960| 3a 20 32 30 20 41 75 67 | 20 31 39 39 34 20 31 32 |: 20 Aug| 1994 12|
|00003970| 3a 32 30 3a 30 31 20 2d | 30 34 30 30 0d 4f 72 67 |:20:01 -|0400.Org|
|00003980| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 41 6d 65 72 69 |anizatio|n: Ameri|
|00003990| 63 61 20 4f 6e 6c 69 6e | 65 2c 20 49 6e 63 2e 20 |ca Onlin|e, Inc. |
|000039a0| 28 31 2d 38 30 30 2d 38 | 32 37 2d 36 33 36 34 29 |(1-800-8|27-6364)|
|000039b0| 0d 0d 49 6e 20 61 72 74 | 69 63 6c 65 20 3c 67 75 |..In art|icle <gu|
|000039c0| 72 67 6c 65 2d 31 39 30 | 38 39 34 32 30 31 37 33 |rgle-190|89420173|
|000039d0| 34 30 30 30 31 40 67 75 | 72 67 6c 65 2e 64 6e 61 |40001@gu|rgle.dna|
|000039e0| 69 2e 63 6f 6d 3e 2c 20 | 67 75 72 67 6c 65 40 64 |i.com>, |gurgle@d|
|000039f0| 6e 61 69 2e 63 6f 6d 0d | 28 50 65 74 65 20 47 6f |nai.com.|(Pete Go|
|00003a00| 6e 74 69 65 72 29 20 77 | 72 69 74 65 73 3a 0d 0d |ntier) w|rites:..|
|00003a10| 48 65 72 65 20 69 73 20 | 61 20 73 68 6f 72 74 20 |Here is |a short |
|00003a20| 65 78 61 6d 70 6c 65 20 | 6f 66 20 61 20 76 69 72 |example |of a vir|
|00003a30| 74 75 61 6c 20 64 65 73 | 74 72 75 63 74 6f 72 20 |tual des|tructor |
|00003a40| 69 6e 20 75 73 65 2e 20 | 72 65 6d 6f 76 65 20 74 |in use. |remove t|
|00003a50| 68 65 20 76 69 72 74 75 | 61 6c 0d 6b 65 79 77 6f |he virtu|al.keywo|
|00003a60| 72 64 20 61 6e 64 20 79 | 6f 75 20 77 69 6c 6c 20 |rd and y|ou will |
|00003a70| 73 65 65 20 74 68 61 74 | 20 6f 6e 6c 79 20 74 68 |see that| only th|
|00003a80| 65 20 62 61 73 65 20 63 | 6c 61 73 73 27 73 20 64 |e base c|lass's d|
|00003a90| 65 73 74 72 75 63 74 6f | 72 20 69 73 20 63 61 6c |estructo|r is cal|
|00003aa0| 6c 65 64 2e 0d 52 6f 6e | 20 4c 69 65 63 68 74 79 |led..Ron| Liechty|
|00003ab0| 0d 52 6f 6e 4c 40 6d 65 | 74 72 6f 77 65 72 6b 73 |.RonL@me|trowerks|
|00003ac0| 2e 63 6f 6d 0d 4d 65 74 | 72 6f 77 65 72 6b 73 20 |.com.Met|rowerks |
|00003ad0| 49 6e 63 2e 0d 0d 23 69 | 6e 63 6c 75 64 65 20 3c |Inc...#i|nclude <|
|00003ae0| 69 6f 73 74 72 65 61 6d | 3e 0d 0d 63 6c 61 73 73 |iostream|>..class|
|00003af0| 20 62 61 73 65 20 7b 0d | 20 20 70 75 62 6c 69 63 | base {.| public|
|00003b00| 3a 0d 20 20 20 20 20 69 | 6e 74 20 2a 61 3b 0d 20 |:. i|nt *a;. |
|00003b10| 20 70 72 6f 74 65 63 74 | 65 64 3a 0d 20 20 20 20 | protect|ed:. |
|00003b20| 20 62 61 73 65 28 29 20 | 7b 20 61 20 3d 20 6e 65 | base() |{ a = ne|
|00003b30| 77 20 69 6e 74 28 31 29 | 3b 7d 0d 20 20 70 75 62 |w int(1)|;}. pub|
|00003b40| 6c 69 63 3a 0d 20 20 20 | 20 20 76 69 72 74 75 61 |lic:. | virtua|
|00003b50| 6c 20 7e 62 61 73 65 28 | 29 20 20 7b 20 63 6f 75 |l ~base(|) { cou|
|00003b60| 74 20 3c 3c 20 22 64 65 | 6c 65 74 65 74 69 6e 67 |t << "de|leteting|
|00003b70| 20 62 61 73 65 20 22 3b | 20 64 65 6c 65 74 65 20 | base ";| delete |
|00003b80| 61 3b 7d 3b 0d 7d 3b 0d | 0d 63 6c 61 73 73 20 62 |a;};.};.|.class b|
|00003b90| 61 73 65 32 20 3a 20 70 | 75 62 6c 69 63 20 62 61 |ase2 : p|ublic ba|
|00003ba0| 73 65 20 7b 0d 20 20 70 | 75 62 6c 69 63 3a 0d 20 |se {. p|ublic:. |
|00003bb0| 20 20 20 20 20 69 6e 74 | 20 2a 62 3b 0d 20 20 70 | int| *b;. p|
|00003bc0| 72 6f 74 65 63 74 65 64 | 3a 0d 20 20 20 20 20 20 |rotected|:. |
|00003bd0| 62 61 73 65 32 28 29 20 | 7b 20 62 20 3d 20 6e 65 |base2() |{ b = ne|
|00003be0| 77 20 69 6e 74 28 31 29 | 3b 7d 0d 20 20 70 75 62 |w int(1)|;}. pub|
|00003bf0| 6c 69 63 3a 0d 20 20 20 | 20 20 20 76 69 72 74 75 |lic:. | virtu|
|00003c00| 61 6c 20 7e 62 61 73 65 | 32 28 29 20 20 7b 20 63 |al ~base|2() { c|
|00003c10| 6f 75 74 20 3c 3c 20 22 | 64 65 6c 65 74 65 74 69 |out << "|deleteti|
|00003c20| 6e 67 20 62 61 73 65 32 | 20 22 3b 20 64 65 6c 65 |ng base2| "; dele|
|00003c30| 74 65 20 62 3b 7d 3b 0d | 20 7d 3b 0d 20 0d 20 63 |te b;};.| };. . c|
|00003c40| 6c 61 73 73 20 64 20 3a | 20 70 75 62 6c 69 63 20 |lass d :| public |
|00003c50| 62 61 73 65 32 20 7b 0d | 20 20 20 20 20 70 75 62 |base2 {.| pub|
|00003c60| 6c 69 63 20 3a 0d 20 20 | 20 20 20 20 20 69 6e 74 |lic :. | int|
|00003c70| 20 2a 63 3b 0d 20 20 20 | 20 20 70 75 62 6c 69 63 | *c;. | public|
|00003c80| 3a 0d 20 20 20 20 20 20 | 20 64 28 29 20 7b 20 63 |:. | d() { c|
|00003c90| 20 3d 20 6e 65 77 20 69 | 6e 74 28 33 29 3b 7d 0d | = new i|nt(3);}.|
|00003ca0| 20 20 20 20 20 20 20 7e | 64 28 29 20 7b 20 63 6f | ~|d() { co|
|00003cb0| 75 74 20 3c 3c 20 22 64 | 65 6c 65 74 65 74 69 6e |ut << "d|eletetin|
|00003cc0| 67 20 64 20 22 3b 20 64 | 65 6c 65 74 65 20 63 3b |g d "; d|elete c;|
|00003cd0| 7d 3b 0d 20 7d 3b 20 20 | 20 20 0d 20 20 20 20 20 |};. }; | . |
|00003ce0| 20 0d 20 20 20 20 20 20 | 0d 20 6d 61 69 6e 28 29 | . |. main()|
|00003cf0| 0d 20 7b 0d 20 20 20 20 | 62 61 73 65 20 2a 62 50 |. {. |base *bP|
|00003d00| 74 72 20 3d 20 6e 65 77 | 20 64 3b 0d 20 20 20 20 |tr = new| d;. |
|00003d10| 64 65 6c 65 74 65 20 62 | 50 74 72 3b 0d 20 20 20 |delete b|Ptr;. |
|00003d20| 20 0d 20 20 20 20 63 6f | 75 74 20 3c 3c 20 22 65 | . co|ut << "e|
|00003d30| 6e 74 65 72 20 61 20 63 | 68 61 72 20 22 20 3b 0d |nter a c|har " ;.|
|00003d40| 20 20 20 20 63 69 6e 2e | 67 65 74 28 29 3b 20 20 | cin.|get(); |
|00003d50| 20 0d 20 20 20 20 72 65 | 74 75 72 6e 20 30 3b 0d | . re|turn 0;.|
|00003d60| 20 7d 20 20 20 20 20 0d | 20 20 20 20 20 20 0d 0d | } .| ..|
|00003d70| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003d80| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|00003d90| 6f 6d 20 65 6b 73 74 72 | 6f 6d 40 61 67 67 72 6f |om ekstr|om@aggro|
|00003da0| 75 70 2e 63 6f 6d 20 28 | 48 61 72 6f 6c 64 20 45 |up.com (|Harold E|
|00003db0| 6b 73 74 72 6f 6d 29 0d | 44 61 74 65 3a 20 53 61 |kstrom).|Date: Sa|
|00003dc0| 74 2c 20 32 30 20 41 75 | 67 20 31 39 39 34 20 32 |t, 20 Au|g 1994 2|
|00003dd0| 30 3a 34 35 3a 31 35 20 | 2d 30 38 30 30 0d 4f 72 |0:45:15 |-0800.Or|
|00003de0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 67 20 47 |ganizati|on: Ag G|
|00003df0| 72 6f 75 70 0d 0d 49 6e | 20 61 72 74 69 63 6c 65 |roup..In| article|
|00003e00| 20 3c 33 33 33 67 34 36 | 24 68 75 35 40 73 65 61 | <333g46|$hu5@sea|
|00003e10| 72 63 68 30 31 2e 6e 65 | 77 73 2e 61 6f 6c 2e 63 |rch01.ne|ws.aol.c|
|00003e20| 6f 6d 3e 2c 20 6d 77 72 | 6f 6e 40 61 6f 6c 2e 63 |om>, mwr|on@aol.c|
|00003e30| 6f 6d 20 28 4d 57 20 52 | 6f 6e 29 20 77 72 6f 74 |om (MW R|on) wrot|
|00003e40| 65 3a 0d 0d 3e 20 49 6e | 20 61 72 74 69 63 6c 65 |e:..> In| article|
|00003e50| 20 3c 33 33 33 61 61 6b | 24 66 6a 38 40 6c 61 73 | <333aak|$fj8@las|
|00003e60| 74 61 63 74 69 6f 6e 68 | 65 72 6f 2e 72 73 2e 69 |tactionh|ero.rs.i|
|00003e70| 74 64 2e 75 6d 69 63 68 | 2e 65 64 75 3e 2c 20 6a |td.umich|.edu>, j|
|00003e80| 70 65 6b 40 75 6d 69 63 | 68 2e 65 64 75 0d 3e 20 |pek@umic|h.edu.> |
|00003e90| 28 4a 65 66 66 20 50 65 | 6b 29 20 77 72 69 74 65 |(Jeff Pe|k) write|
|00003ea0| 73 3a 0d 3e 20 0d 3e 20 | 3e 3e 31 29 20 57 68 79 |s:.> .> |>>1) Why|
|00003eb0| 20 77 6f 75 6c 64 20 49 | 20 77 61 6e 74 20 74 6f | would I| want to|
|00003ec0| 2f 6e 65 65 64 20 74 6f | 20 64 65 63 6c 61 72 65 |/need to| declare|
|00003ed0| 20 61 20 64 65 73 74 72 | 75 63 74 6f 72 20 76 69 | a destr|uctor vi|
|00003ee0| 72 74 75 61 6c 3f 0d 3e | 20 3e 3e 32 29 20 57 68 |rtual?.>| >>2) Wh|
|00003ef0| 61 74 20 68 61 70 70 65 | 6e 73 20 69 66 20 49 20 |at happe|ns if I |
|00003f00| 64 6f 6e 27 74 3f 0d 3e | 20 0d 3e 20 31 29 20 59 |don't?.>| .> 1) Y|
|00003f10| 6f 75 20 6e 65 65 64 20 | 74 6f 20 64 65 63 6c 61 |ou need |to decla|
|00003f20| 72 65 20 61 20 76 69 72 | 74 75 61 6c 20 64 65 73 |re a vir|tual des|
|00003f30| 74 72 75 63 74 6f 72 20 | 77 68 65 6e 20 79 6f 75 |tructor |when you|
|00003f40| 20 68 61 76 65 20 61 20 | 62 61 73 65 20 63 6c 61 | have a |base cla|
|00003f50| 73 73 2c 0d 3e 20 69 74 | 73 20 64 65 73 74 72 75 |ss,.> it|s destru|
|00003f60| 63 74 6f 72 20 69 73 20 | 64 69 66 66 65 72 65 6e |ctor is |differen|
|00003f70| 74 20 74 68 61 6e 20 74 | 68 65 20 64 65 72 69 76 |t than t|he deriv|
|00003f80| 65 64 20 63 6c 61 73 73 | 65 73 20 64 65 73 74 72 |ed class|es destr|
|00003f90| 75 63 74 6f 72 2c 20 61 | 6e 64 0d 3e 20 6f 62 6a |uctor, a|nd.> obj|
|00003fa0| 65 63 74 73 20 61 72 65 | 20 64 65 6c 65 74 65 64 |ects are| deleted|
|00003fb0| 20 76 69 61 20 70 6f 69 | 6e 74 65 72 20 6f 72 20 | via poi|nter or |
|00003fc0| 72 65 66 65 72 6e 63 65 | 20 74 6f 20 62 61 73 65 |refernce| to base|
|00003fd0| 20 63 6c 61 73 73 2e 20 | 28 20 61 20 67 6f 6f 64 | class. |( a good|
|00003fe0| 20 68 61 62 69 74 2c 0d | 3e 20 64 65 63 6c 61 72 | habit,.|> declar|
|00003ff0| 65 20 69 74 20 66 6f 72 | 20 61 6c 6c 20 62 61 73 |e it for| all bas|
|00004000| 65 20 63 6c 61 73 73 65 | 73 20 29 0d 3e 20 0d 3e |e classe|s ).> .>|
|00004010| 20 32 29 20 69 66 20 79 | 6f 75 20 64 6f 6e 27 74 | 2) if y|ou don't|
|00004020| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 6e 6f 74 20 67 |, you wi|ll not g|
|00004030| 75 61 72 61 6e 74 65 65 | 20 61 6c 6c 20 6f 62 6a |uarantee| all obj|
|00004040| 65 63 74 73 20 77 69 6c | 6c 20 62 65 20 64 65 6c |ects wil|l be del|
|00004050| 65 74 65 64 20 77 68 65 | 6e 0d 3e 20 61 6e 20 6f |eted whe|n.> an o|
|00004060| 62 6a 65 63 74 20 69 73 | 20 64 65 6c 65 74 65 64 |bject is| deleted|
|00004070| 2c 20 69 66 20 69 74 20 | 69 73 20 61 63 63 65 73 |, if it |is acces|
|00004080| 73 65 64 20 61 73 20 61 | 20 62 61 73 65 20 63 6c |sed as a| base cl|
|00004090| 61 73 73 20 70 6f 69 74 | 65 72 2e 0d 3e 20 20 0d |ass poit|er..> .|
|000040a0| 3e 20 53 63 6f 74 74 20 | 4d 65 79 65 72 73 20 69 |> Scott |Meyers i|
|000040b0| 6e 20 45 66 66 65 63 74 | 69 76 65 20 43 2b 2b 20 |n Effect|ive C++ |
|000040c0| 65 78 70 6c 61 69 6e 73 | 20 74 68 69 73 20 71 75 |explains| this qu|
|000040d0| 69 74 65 20 77 65 6c 6c | 2e 0d 3e 20 0d 3e 20 52 |ite well|..> .> R|
|000040e0| 6f 6e 20 4c 69 65 63 68 | 74 79 0d 3e 20 52 6f 6e |on Liech|ty.> Ron|
|000040f0| 4c 40 6d 65 74 72 6f 77 | 65 72 6b 73 2e 63 6f 6d |L@metrow|erks.com|
|00004100| 0d 3e 20 4d 65 74 72 6f | 77 65 72 6b 73 20 49 6e |.> Metro|werks In|
|00004110| 63 2e 0d 0d 41 6e 6f 74 | 68 65 72 20 67 6f 6f 64 |c...Anot|her good|
|00004120| 20 73 6f 75 72 63 65 20 | 6f 66 20 61 6e 73 77 65 | source |of answe|
|00004130| 72 73 20 66 6f 72 20 74 | 68 69 73 20 61 6e 64 20 |rs for t|his and |
|00004140| 6f 74 68 65 72 20 63 6f | 6d 6d 6f 6e 20 43 2b 2b |other co|mmon C++|
|00004150| 0d 71 75 65 73 74 69 6f | 6e 73 20 69 73 20 74 68 |.questio|ns is th|
|00004160| 65 20 43 2b 2b 46 41 51 | 20 28 72 74 66 6d 2e 6d |e C++FAQ| (rtfm.m|
|00004170| 69 74 2e 65 64 75 29 2e | 20 49 74 20 77 61 73 20 |it.edu).| It was |
|00004180| 6f 6e 65 20 6f 66 20 74 | 68 65 0d 66 69 72 73 74 |one of t|he.first|
|00004190| 20 74 68 69 6e 67 73 20 | 49 20 72 65 61 64 20 77 | things |I read w|
|000041a0| 68 65 6e 20 6c 65 61 72 | 6e 69 6e 67 20 43 2b 2b |hen lear|ning C++|
|000041b0| 2e 0d 0d 68 61 72 6f 6c | 64 0d 2d 20 2d 2d 2d 2d |...harol|d.- ----|
|000041c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041f0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 48 61 72 6f 6c 64 20 |--------|.Harold |
|00004200| 45 6b 73 74 72 6f 6d 0d | 65 6b 73 74 72 6f 6d 40 |Ekstrom.|ekstrom@|
|00004210| 61 67 67 72 6f 75 70 2e | 63 6f 6d 0d 61 67 20 67 |aggroup.|com.ag g|
|00004220| 72 6f 75 70 2c 20 69 6e | 63 2e 0d 32 35 34 30 20 |roup, in|c..2540 |
|00004230| 63 61 6d 69 6e 6f 20 64 | 69 61 62 6c 6f 2c 20 73 |camino d|iablo, s|
|00004240| 75 69 74 65 20 32 30 30 | 0d 77 61 6c 6e 75 74 20 |uite 200|.walnut |
|00004250| 63 72 65 65 6b 2c 20 63 | 61 20 39 34 35 39 36 0d |creek, c|a 94596.|
|00004260| 35 31 30 2d 39 33 37 2d | 37 39 30 30 20 76 6f 69 |510-937-|7900 voi|
|00004270| 63 65 0d 35 31 30 2d 39 | 33 37 2d 32 34 37 39 20 |ce.510-9|37-2479 |
|00004280| 66 61 78 0d 35 31 30 2d | 39 33 37 2d 36 37 30 34 |fax.510-|937-6704|
|00004290| 20 61 72 61 0d 66 74 70 | 2e 61 67 67 72 6f 75 70 | ara.ftp|.aggroup|
|000042a0| 2e 63 6f 6d 20 61 6e 6f | 6e 79 6d 6f 75 73 20 66 |.com ano|nymous f|
|000042b0| 74 70 0d 20 0d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tp. ..--|--------|
|000042c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000042d0| 2d 0d 0d 3e 46 72 6f 6d | 20 61 66 72 61 6e 63 6b |-..>From| afranck|
|000042e0| 65 40 6e 65 74 63 6f 6d | 2e 63 6f 6d 20 28 41 6e |e@netcom|.com (An|
|000042f0| 64 72 65 77 20 46 72 61 | 6e 63 6b 65 29 0d 53 75 |drew Fra|ncke).Su|
|00004300| 62 6a 65 63 74 3a 20 45 | 6e 75 6d 20 73 69 7a 65 |bject: E|num size|
|00004310| 20 2d 2d 20 77 68 61 74 | 27 73 20 74 68 65 20 4c | -- what|'s the L|
|00004320| 43 44 3f 0d 44 61 74 65 | 3a 20 57 65 64 2c 20 31 |CD?.Date|: Wed, 1|
|00004330| 37 20 41 75 67 20 31 39 | 39 34 20 30 32 3a 35 34 |7 Aug 19|94 02:54|
|00004340| 3a 35 36 20 47 4d 54 0d | 4f 72 67 61 6e 69 7a 61 |:56 GMT.|Organiza|
|00004350| 74 69 6f 6e 3a 20 4e 65 | 74 63 6f 6d 20 4f 6e 6c |tion: Ne|tcom Onl|
|00004360| 69 6e 65 20 43 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ine Comm|unicatio|
|00004370| 6e 73 20 53 65 72 76 69 | 63 65 73 20 28 34 30 38 |ns Servi|ces (408|
|00004380| 2d 32 34 31 2d 39 37 36 | 30 20 6c 6f 67 69 6e 3a |-241-976|0 login:|
|00004390| 20 67 75 65 73 74 29 0d | 0d 49 66 20 49 27 6d 20 | guest).|.If I'm |
|000043a0| 6e 6f 74 20 6d 69 73 74 | 61 6b 65 6e 2c 20 74 68 |not mist|aken, th|
|000043b0| 65 20 6c 6f 77 65 73 74 | 20 63 6f 6d 6d 6f 6e 20 |e lowest| common |
|000043c0| 64 65 6e 6f 6d 69 6e 61 | 74 6f 72 20 66 6f 72 20 |denomina|tor for |
|000043d0| 65 6e 75 6d 20 73 69 7a | 65 20 69 73 0d 74 68 61 |enum siz|e is.tha|
|000043e0| 74 20 70 72 65 73 65 6e | 74 65 64 20 62 79 20 4d |t presen|ted by M|
|000043f0| 50 57 20 36 38 6b 20 43 | 20 2d 2d 20 76 61 72 69 |PW 68k C| -- vari|
|00004400| 61 62 6c 65 20 31 2c 20 | 32 2c 20 6f 72 20 34 20 |able 1, |2, or 4 |
|00004410| 62 79 74 65 73 2e 20 4f | 74 68 65 72 20 4d 61 63 |bytes. O|ther Mac|
|00004420| 20 43 0d 61 6e 64 20 43 | 2b 2b 20 63 6f 6d 70 69 | C.and C|++ compi|
|00004430| 6c 65 72 73 20 73 75 70 | 70 6f 72 74 20 74 68 65 |lers sup|port the|
|00004440| 20 41 4e 53 49 20 64 65 | 66 69 6e 69 74 69 6f 6e | ANSI de|finition|
|00004450| 2c 20 73 69 7a 65 6f 66 | 28 65 6e 75 6d 29 20 3d |, sizeof|(enum) =|
|00004460| 3d 0d 73 69 7a 65 6f 66 | 28 69 6e 74 29 2c 20 62 |=.sizeof|(int), b|
|00004470| 75 74 20 6e 6f 74 20 4d | 50 57 20 43 2e 20 41 6c |ut not M|PW C. Al|
|00004480| 6c 20 4d 61 63 20 63 6f | 6d 70 69 6c 65 72 73 20 |l Mac co|mpilers |
|00004490| 73 75 70 70 6f 72 74 20 | 76 61 72 69 61 62 6c 65 |support |variable|
|000044a0| 20 65 6e 75 6d 0d 73 69 | 7a 65 20 6a 75 73 74 20 | enum.si|ze just |
|000044b0| 6c 69 6b 65 20 4d 50 57 | 20 43 2e 0d 0d 49 73 20 |like MPW| C...Is |
|000044c0| 74 68 69 73 20 73 74 72 | 69 63 74 6c 79 20 63 6f |this str|ictly co|
|000044d0| 72 72 65 63 74 3f 0d 0d | 4e 6f 77 2c 20 65 78 61 |rrect?..|Now, exa|
|000044e0| 6d 69 6e 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |mine the| followi|
|000044f0| 6e 67 20 63 6f 64 65 3a | 0d 0d 74 79 70 65 64 65 |ng code:|..typede|
|00004500| 66 20 65 6e 75 6d 0d 7b | 0d 09 61 3d 32 35 35 0d |f enum.{|..a=255.|
|00004510| 7d 20 6f 6e 65 5f 62 79 | 74 65 5f 65 6e 75 6d 5f |} one_by|te_enum_|
|00004520| 74 3b 0d 0d 74 79 70 65 | 64 65 66 20 65 6e 75 6d |t;..type|def enum|
|00004530| 0d 7b 0d 09 62 3d 36 35 | 30 30 30 0d 7d 20 74 77 |.{..b=65|000.} tw|
|00004540| 6f 5f 62 79 74 65 5f 65 | 6e 75 6d 5f 74 3b 0d 0d |o_byte_e|num_t;..|
|00004550| 74 79 70 65 64 65 66 20 | 65 6e 75 6d 0d 7b 0d 09 |typedef |enum.{..|
|00004560| 63 3d 31 30 30 30 30 30 | 30 0d 7d 20 74 68 72 65 |c=100000|0.} thre|
|00004570| 65 5f 62 79 74 65 5f 65 | 6e 75 6d 5f 74 3b 0d 0d |e_byte_e|num_t;..|
|00004580| 23 69 66 20 64 65 66 69 | 6e 65 64 20 28 70 6f 77 |#if defi|ned (pow|
|00004590| 65 72 63 29 20 7c 7c 20 | 64 65 66 69 6e 65 64 20 |erc) || |defined |
|000045a0| 28 5f 5f 70 6f 77 65 72 | 29 0d 23 70 72 61 67 6d |(__power|).#pragm|
|000045b0| 61 20 61 6c 69 67 6e 3d | 6d 61 63 36 38 6b 0d 23 |a align=|mac68k.#|
|000045c0| 65 6e 64 69 66 0d 73 74 | 72 75 63 74 20 74 65 73 |endif.st|ruct tes|
|000045d0| 74 31 0d 7b 0d 09 6f 6e | 65 5f 62 79 74 65 5f 65 |t1.{..on|e_byte_e|
|000045e0| 6e 75 6d 5f 74 09 09 6d | 65 6d 31 3b 0d 09 74 77 |num_t..m|em1;..tw|
|000045f0| 6f 5f 62 79 74 65 5f 65 | 6e 75 6d 5f 74 09 09 6d |o_byte_e|num_t..m|
|00004600| 65 6d 32 3b 0d 09 74 68 | 72 65 65 5f 62 79 74 65 |em2;..th|ree_byte|
|00004610| 5f 65 6e 75 6d 5f 74 09 | 6d 65 6d 33 3b 0d 7d 3b |_enum_t.|mem3;.};|
|00004620| 0d 23 69 66 20 64 65 66 | 69 6e 65 64 20 28 70 6f |.#if def|ined (po|
|00004630| 77 65 72 63 29 20 7c 7c | 20 64 65 66 69 6e 65 64 |werc) ||| defined|
|00004640| 20 28 5f 5f 70 6f 77 65 | 72 63 29 0d 23 70 72 61 | (__powe|rc).#pra|
|00004650| 67 6d 61 20 61 6c 69 67 | 6e 20 72 65 73 65 74 20 |gma alig|n reset |
|00004660| 2f 2f 20 6f 72 20 77 68 | 61 74 65 76 65 72 20 69 |// or wh|atever i|
|00004670| 74 20 69 73 0d 23 65 6e | 64 69 66 0d 0d 54 68 65 |t is.#en|dif..The|
|00004680| 20 24 31 30 2c 30 30 30 | 2c 30 30 30 20 71 75 65 | $10,000|,000 que|
|00004690| 73 74 69 6f 6e 20 2d 2d | 20 64 6f 20 74 68 65 73 |stion --| do thes|
|000046a0| 65 20 73 74 72 75 63 74 | 75 72 65 73 20 6c 61 79 |e struct|ures lay|
|000046b0| 20 6f 75 74 20 6f 6e 20 | 65 76 65 72 79 20 4d 61 | out on |every Ma|
|000046c0| 63 0d 43 20 63 6f 6d 70 | 69 6c 65 72 20 69 6e 20 |c.C comp|iler in |
|000046d0| 74 68 69 73 20 77 61 79 | 3a 0d 0d 4f 66 66 73 65 |this way|:..Offse|
|000046e0| 74 09 09 42 79 74 65 0d | 66 72 6f 6d 09 09 43 6f |t..Byte.|from..Co|
|000046f0| 6e 74 65 6e 74 73 0d 26 | 74 65 73 74 20 31 3a 0d |ntents.&|test 1:.|
|00004700| 2d 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 09 2d 2d 2d 2d |- ------|---.----|
|00004710| 2d 2d 2d 2d 0d 30 78 30 | 30 30 30 30 30 30 30 3a |----.0x0|0000000:|
|00004720| 09 6d 65 6d 31 0d 30 78 | 30 30 30 30 30 30 30 31 |.mem1.0x|00000001|
|00004730| 3a 09 3c 70 61 64 3e 0d | 30 78 30 30 30 30 30 30 |:.<pad>.|0x000000|
|00004740| 30 32 3a 09 6d 65 6d 32 | 0d 30 78 30 30 30 30 30 |02:.mem2|.0x00000|
|00004750| 30 30 33 3a 09 6d 65 6d | 32 0d 30 78 30 30 30 30 |003:.mem|2.0x0000|
|00004760| 30 30 30 34 3a 09 6d 65 | 6d 33 0d 30 78 30 30 30 |0004:.me|m3.0x000|
|00004770| 30 30 30 30 35 3a 09 6d | 65 6d 33 0d 30 78 30 30 |00005:.m|em3.0x00|
|00004780| 30 30 30 30 30 36 3a 09 | 6d 65 6d 33 0d 30 78 30 |000006:.|mem3.0x0|
|00004790| 30 30 30 30 30 30 37 3a | 09 6d 65 6d 33 0d 0d 48 |0000007:|.mem3..H|
|000047a0| 6f 77 20 61 62 6f 75 74 | 20 73 74 61 63 6b 20 61 |ow about| stack a|
|000047b0| 6c 69 67 6e 6d 65 6e 74 | 3f 20 49 66 20 49 20 64 |lignment|? If I d|
|000047c0| 65 63 6c 61 72 65 20 61 | 20 66 75 6e 63 74 69 6f |eclare a| functio|
|000047d0| 6e 3a 0d 0d 76 6f 69 64 | 0d 66 6f 6f 20 28 20 6f |n:..void|.foo ( o|
|000047e0| 6e 65 5f 62 79 74 65 5f | 65 6e 75 6d 20 61 2c 20 |ne_byte_|enum a, |
|000047f0| 74 77 6f 5f 62 79 74 65 | 5f 65 6e 75 6d 20 62 2c |two_byte|_enum b,|
|00004800| 20 74 68 72 65 65 5f 62 | 79 74 65 5f 65 6e 75 6d | three_b|yte_enum|
|00004810| 20 63 20 29 3b 0d 0d 2e | 2e 2e 77 68 61 74 20 77 | c );...|..what w|
|00004820| 69 6c 6c 20 74 68 65 20 | 73 74 61 63 6b 20 6c 6f |ill the |stack lo|
|00004830| 6f 6b 20 6c 69 6b 65 3f | 20 57 69 6c 6c 20 69 74 |ok like?| Will it|
|00004840| 20 62 65 20 74 68 65 20 | 73 61 6d 65 20 66 6f 72 | be the |same for|
|00004850| 20 61 6c 6c 20 4d 61 63 | 20 43 2f 43 2b 2b 0d 63 | all Mac| C/C++.c|
|00004860| 6f 6d 70 69 6c 65 72 73 | 3f 0d 0d 45 78 61 6d 70 |ompilers|?..Examp|
|00004870| 6c 65 20 73 74 61 63 6b | 3a 0d 20 20 20 20 20 20 |le stack|:. |
|00004880| 20 20 20 31 20 20 20 32 | 20 20 20 33 20 20 20 34 | 1 2| 3 4|
|00004890| 20 20 20 35 20 20 20 36 | 20 20 20 37 20 20 20 38 | 5 6| 7 8|
|000048a0| 0d 53 50 2d 30 78 38 3a | 20 20 63 20 20 20 63 20 |.SP-0x8:| c c |
|000048b0| 20 20 63 20 20 20 63 20 | 20 20 62 20 20 20 62 20 | c c | b b |
|000048c0| 3c 70 61 64 3e 20 61 0d | 53 50 3a 0d 0d 28 53 6f |<pad> a.|SP:..(So|
|000048d0| 72 72 79 20 69 66 20 74 | 68 69 73 20 6c 61 73 74 |rry if t|his last|
|000048e0| 20 65 78 61 6d 70 6c 65 | 20 69 73 6e 27 74 20 74 | example| isn't t|
|000048f0| 68 61 74 20 63 6c 65 61 | 72 20 2d 2d 20 74 68 65 |hat clea|r -- the|
|00004900| 20 73 74 61 63 6b 20 69 | 73 20 62 65 69 6e 67 0d | stack i|s being.|
|00004910| 64 69 73 70 6c 61 79 65 | 64 20 69 6e 20 68 69 2d |displaye|d in hi-|
|00004920| 6c 6f 2c 20 6c 65 66 74 | 20 74 6f 20 72 69 67 68 |lo, left| to righ|
|00004930| 74 20 6f 72 64 65 72 2c | 20 61 73 73 75 6d 69 6e |t order,| assumin|
|00004940| 67 20 74 68 61 74 20 61 | 6c 6c 20 70 61 72 61 6d |g that a|ll param|
|00004950| 65 74 65 72 73 0d 68 61 | 76 65 20 62 65 65 6e 20 |eters.ha|ve been |
|00004960| 70 75 73 68 65 64 20 61 | 6e 64 20 77 65 27 72 65 |pushed a|nd we're|
|00004970| 20 61 62 6f 75 74 20 74 | 6f 20 4a 53 52 20 74 6f | about t|o JSR to|
|00004980| 20 66 6f 6f 29 0d 0d 54 | 68 61 6e 6b 73 20 69 6e | foo)..T|hanks in|
|00004990| 20 61 64 76 61 6e 63 65 | 20 66 6f 72 20 79 6f 75 | advance| for you|
|000049a0| 72 20 69 6e 73 69 67 68 | 74 2e 0d 0d 41 6e 64 79 |r insigh|t...Andy|
|000049b0| 20 46 72 61 6e 63 6b 65 | 0d 0d 2b 2b 2b 2b 2b 2b | Francke|..++++++|
|000049c0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000049d0| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 6d 63 6c |+++++..>|From mcl|
|000049e0| 6f 77 40 73 61 6e 5f 6d | 61 72 63 6f 73 2e 63 73 |ow@san_m|arcos.cs|
|000049f0| 75 73 6d 2e 65 64 75 20 | 28 4d 61 72 73 68 61 6c |usm.edu |(Marshal|
|00004a00| 6c 20 43 6c 6f 77 29 0d | 44 61 74 65 3a 20 57 65 |l Clow).|Date: We|
|00004a10| 64 2c 20 31 37 20 41 75 | 67 20 31 39 39 34 20 30 |d, 17 Au|g 1994 0|
|00004a20| 30 3a 35 33 3a 33 32 20 | 2d 30 38 30 30 0d 4f 72 |0:53:32 |-0800.Or|
|00004a30| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 6c 61 64 |ganizati|on: Alad|
|00004a40| 64 69 6e 20 53 79 73 74 | 65 6d 73 0d 0d 49 6e 20 |din Syst|ems..In |
|00004a50| 61 72 74 69 63 6c 65 20 | 3c 61 66 72 61 6e 63 6b |article |<afranck|
|00004a60| 65 43 75 6e 73 33 4c 2e | 4d 75 43 40 6e 65 74 63 |eCuns3L.|MuC@netc|
|00004a70| 6f 6d 2e 63 6f 6d 3e 2c | 20 61 66 72 61 6e 63 6b |om.com>,| afranck|
|00004a80| 65 40 6e 65 74 63 6f 6d | 2e 63 6f 6d 20 28 41 6e |e@netcom|.com (An|
|00004a90| 64 72 65 77 0d 46 72 61 | 6e 63 6b 65 29 20 77 72 |drew.Fra|ncke) wr|
|00004aa0| 6f 74 65 3a 0d 0d 3e 20 | 49 66 20 49 27 6d 20 6e |ote:..> |If I'm n|
|00004ab0| 6f 74 20 6d 69 73 74 61 | 6b 65 6e 2c 20 74 68 65 |ot mista|ken, the|
|00004ac0| 20 6c 6f 77 65 73 74 20 | 63 6f 6d 6d 6f 6e 20 64 | lowest |common d|
|00004ad0| 65 6e 6f 6d 69 6e 61 74 | 6f 72 20 66 6f 72 20 65 |enominat|or for e|
|00004ae0| 6e 75 6d 20 73 69 7a 65 | 20 69 73 0d 3e 20 74 68 |num size| is.> th|
|00004af0| 61 74 20 70 72 65 73 65 | 6e 74 65 64 20 62 79 20 |at prese|nted by |
|00004b00| 4d 50 57 20 36 38 6b 20 | 43 20 2d 2d 20 76 61 72 |MPW 68k |C -- var|
|00004b10| 69 61 62 6c 65 20 31 2c | 20 32 2c 20 6f 72 20 34 |iable 1,| 2, or 4|
|00004b20| 20 62 79 74 65 73 2e 20 | 4f 74 68 65 72 20 4d 61 | bytes. |Other Ma|
|00004b30| 63 20 43 0d 3e 20 61 6e | 64 20 43 2b 2b 20 63 6f |c C.> an|d C++ co|
|00004b40| 6d 70 69 6c 65 72 73 20 | 73 75 70 70 6f 72 74 20 |mpilers |support |
|00004b50| 74 68 65 20 41 4e 53 49 | 20 64 65 66 69 6e 69 74 |the ANSI| definit|
|00004b60| 69 6f 6e 2c 20 73 69 7a | 65 6f 66 28 65 6e 75 6d |ion, siz|eof(enum|
|00004b70| 29 20 3d 3d 0d 3e 20 73 | 69 7a 65 6f 66 28 69 6e |) ==.> s|izeof(in|
|00004b80| 74 29 2c 20 62 75 74 20 | 6e 6f 74 20 4d 50 57 20 |t), but |not MPW |
|00004b90| 43 2e 20 41 6c 6c 20 4d | 61 63 20 63 6f 6d 70 69 |C. All M|ac compi|
|00004ba0| 6c 65 72 73 20 73 75 70 | 70 6f 72 74 20 76 61 72 |lers sup|port var|
|00004bb0| 69 61 62 6c 65 20 65 6e | 75 6d 0d 3e 20 73 69 7a |iable en|um.> siz|
|00004bc0| 65 20 6a 75 73 74 20 6c | 69 6b 65 20 4d 50 57 20 |e just l|ike MPW |
|00004bd0| 43 2e 0d 3e 20 0d 3e 20 | 49 73 20 74 68 69 73 20 |C..> .> |Is this |
|00004be0| 73 74 72 69 63 74 6c 79 | 20 63 6f 72 72 65 63 74 |strictly| correct|
|00004bf0| 3f 0d 3e 0d 20 20 20 4e | 6f 2e 20 49 74 27 73 20 |?.>. N|o. It's |
|00004c00| 77 72 6f 6e 67 20 69 6e | 20 73 65 76 65 72 61 6c |wrong in| several|
|00004c10| 20 61 72 65 61 73 2e 0d | 0d 3e 20 0d 5b 20 63 6f | areas..|.> .[ co|
|00004c20| 64 65 20 64 65 6c 65 74 | 65 64 20 5d 0d 3e 20 0d |de delet|ed ].> .|
|00004c30| 3e 20 54 68 65 20 24 31 | 30 2c 30 30 30 2c 30 30 |> The $1|0,000,00|
|00004c40| 30 20 71 75 65 73 74 69 | 6f 6e 20 2d 2d 20 64 6f |0 questi|on -- do|
|00004c50| 20 74 68 65 73 65 20 73 | 74 72 75 63 74 75 72 65 | these s|tructure|
|00004c60| 73 20 6c 61 79 20 6f 75 | 74 20 6f 6e 20 65 76 65 |s lay ou|t on eve|
|00004c70| 72 79 20 4d 61 63 0d 3e | 20 43 20 63 6f 6d 70 69 |ry Mac.>| C compi|
|00004c80| 6c 65 72 20 69 6e 20 74 | 68 69 73 20 77 61 79 3a |ler in t|his way:|
|00004c90| 0d 3e 20 0d 5b 20 6d 6f | 72 65 20 63 6f 64 65 20 |.> .[ mo|re code |
|00004ca0| 64 65 6c 65 74 65 64 20 | 5d 0d 0d 4e 6f 2e 20 44 |deleted |]..No. D|
|00004cb0| 69 66 66 65 72 65 6e 74 | 20 63 6f 6d 70 69 6c 65 |ifferent| compile|
|00004cc0| 72 73 20 61 6c 6c 6f 63 | 61 74 65 64 20 73 69 7a |rs alloc|ated siz|
|00004cd0| 65 73 20 66 6f 72 20 65 | 6e 75 6d 73 20 64 69 66 |es for e|nums dif|
|00004ce0| 66 65 72 65 6e 74 6c 79 | 2e 20 49 20 62 65 6c 69 |ferently|. I beli|
|00004cf0| 65 76 65 0d 74 68 61 74 | 20 74 68 65 20 66 6f 6c |eve.that| the fol|
|00004d00| 6c 6f 77 69 6e 67 20 69 | 73 20 74 72 75 65 3a 0d |lowing i|s true:.|
|00004d10| 0d 31 29 20 4d 50 57 20 | 43 20 28 36 38 4b 29 20 |.1) MPW |C (68K) |
|00004d20| 2d 2d 20 65 6e 75 6d 73 | 20 61 72 65 20 34 20 62 |-- enums| are 4 b|
|00004d30| 79 74 65 73 0d 0d 32 29 | 20 54 68 69 6e 6b 20 43 |ytes..2)| Think C|
|00004d40| 20 28 36 38 4b 29 20 2d | 2d 20 65 6e 75 6d 73 20 | (68K) -|- enums |
|00004d50| 61 72 65 20 31 2c 20 32 | 2c 20 6f 72 20 34 20 62 |are 1, 2|, or 4 b|
|00004d60| 79 74 65 73 20 28 62 61 | 73 65 64 20 6f 6e 20 76 |ytes (ba|sed on v|
|00004d70| 61 6c 75 65 73 29 20 65 | 78 63 65 70 74 20 69 66 |alues) e|xcept if|
|00004d80| 0d 74 68 65 20 22 45 6e | 75 6d 73 20 61 72 65 20 |.the "En|ums are |
|00004d90| 61 6c 77 61 79 73 20 69 | 6e 74 73 22 20 70 72 65 |always i|nts" pre|
|00004da0| 66 65 72 65 6e 63 65 20 | 69 73 20 63 68 65 63 6b |ference |is check|
|00004db0| 65 64 2c 20 69 6e 20 77 | 68 69 63 68 20 63 61 73 |ed, in w|hich cas|
|00004dc0| 65 20 74 68 65 79 20 61 | 72 65 0d 32 20 6f 72 20 |e they a|re.2 or |
|00004dd0| 34 20 62 79 74 65 73 20 | 64 65 70 65 6e 64 69 6e |4 bytes |dependin|
|00004de0| 67 20 6f 6e 20 68 6f 77 | 20 62 69 67 20 79 6f 75 |g on how| big you|
|00004df0| 72 20 69 6e 74 73 20 61 | 72 65 2e 0d 0d 33 29 20 |r ints a|re...3) |
|00004e00| 4d 65 74 72 6f 77 65 72 | 6b 73 20 43 20 28 36 38 |Metrower|ks C (68|
|00004e10| 4b 29 20 2d 2d 20 73 61 | 6d 65 20 61 73 20 54 68 |K) -- sa|me as Th|
|00004e20| 69 6e 6b 20 43 20 28 36 | 38 4b 29 2e 0d 0d 34 29 |ink C (6|8K)...4)|
|00004e30| 20 4d 65 74 72 6f 77 65 | 72 6b 73 20 43 20 28 50 | Metrowe|rks C (P|
|00004e40| 50 43 29 20 2d 2d 20 65 | 6e 75 6d 73 20 61 72 65 |PC) -- e|nums are|
|00004e50| 20 31 2c 20 32 2c 20 6f | 72 20 34 20 62 79 74 65 | 1, 2, o|r 4 byte|
|00004e60| 73 20 28 62 61 73 65 64 | 20 6f 6e 20 76 61 6c 75 |s (based| on valu|
|00004e70| 65 73 29 0d 65 78 63 65 | 70 74 20 69 66 20 74 68 |es).exce|pt if th|
|00004e80| 65 20 22 45 6e 75 6d 73 | 20 61 72 65 20 61 6c 77 |e "Enums| are alw|
|00004e90| 61 79 73 20 69 6e 74 73 | 22 20 70 72 65 66 65 72 |ays ints|" prefer|
|00004ea0| 65 6e 63 65 20 69 73 20 | 63 68 65 63 6b 65 64 2c |ence is |checked,|
|00004eb0| 20 69 6e 20 77 68 69 63 | 68 20 63 61 73 65 0d 74 | in whic|h case.t|
|00004ec0| 68 65 79 20 61 72 65 20 | 34 20 62 79 74 65 73 2e |hey are |4 bytes.|
|00004ed0| 0d 0d 35 29 20 50 50 43 | 43 20 28 41 70 70 6c 65 |..5) PPC|C (Apple|
|00004ee0| 27 73 20 4d 50 57 20 62 | 61 73 65 64 20 50 50 43 |'s MPW b|ased PPC|
|00004ef0| 20 63 6f 6d 70 69 6c 65 | 72 29 20 2d 2d 20 49 20 | compile|r) -- I |
|00004f00| 64 6f 6e 27 74 20 6b 6e | 6f 77 2e 0d 36 29 20 41 |don't kn|ow..6) A|
|00004f10| 70 70 6c 65 27 73 20 6e | 65 77 20 50 50 43 20 43 |pple's n|ew PPC C|
|00004f20| 20 63 6f 6d 70 69 6c 65 | 72 20 28 42 65 74 61 20 | compile|r (Beta |
|00004f30| 6f 6e 20 45 54 4f 20 23 | 31 35 29 20 2d 2d 20 49 |on ETO #|15) -- I|
|00004f40| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 0d 37 29 20 4d | don't k|now.7) M|
|00004f50| 6f 74 6f 72 6f 6c 61 20 | 43 20 28 50 50 43 29 20 |otorola |C (PPC) |
|00004f60| 2d 2d 20 49 20 64 6f 6e | 27 74 20 6b 6e 6f 77 0d |-- I don|'t know.|
|00004f70| 38 29 20 41 62 73 6f 66 | 74 20 43 20 28 50 50 43 |8) Absof|t C (PPC|
|00004f80| 29 20 2d 2d 20 49 20 64 | 6f 6e 27 74 20 6b 6e 6f |) -- I d|on't kno|
|00004f90| 77 0d 0d 5b 20 49 27 6d | 20 73 75 72 65 20 49 20 |w..[ I'm| sure I |
|00004fa0| 66 6f 72 67 6f 74 20 73 | 6f 6d 65 6f 6e 65 2e 20 |forgot s|omeone. |
|00004fb0| 5d 0d 0d 54 68 65 20 41 | 4e 53 49 20 73 70 65 63 |]..The A|NSI spec|
|00004fc0| 20 28 66 72 6f 6d 20 6d | 65 6d 6f 72 79 2c 20 73 | (from m|emory, s|
|00004fd0| 6f 20 64 6f 6e 27 74 20 | 66 6c 61 6d 65 20 6d 65 |o don't |flame me|
|00004fe0| 20 66 6f 72 20 77 6f 72 | 64 61 67 65 29 20 73 61 | for wor|dage) sa|
|00004ff0| 79 73 20 74 68 61 74 20 | 65 6e 75 6d 73 0d 6d 75 |ys that |enums.mu|
|00005000| 73 74 20 62 65 20 22 63 | 6f 6d 70 61 74 69 62 6c |st be "c|ompatibl|
|00005010| 65 20 77 69 74 68 20 69 | 6e 74 65 67 65 72 20 74 |e with i|nteger t|
|00005020| 79 70 65 22 2e 20 54 68 | 65 20 72 65 73 74 20 69 |ype". Th|e rest i|
|00005030| 73 20 75 70 20 74 6f 20 | 74 68 65 20 63 6f 6d 70 |s up to |the comp|
|00005040| 69 6c 65 72 0d 77 72 69 | 74 65 72 2e 0d 0d 54 68 |iler.wri|ter...Th|
|00005050| 69 73 20 69 73 20 6f 6e | 65 20 6f 66 20 74 68 65 |is is on|e of the|
|00005060| 20 6e 6f 6e 2d 70 6f 72 | 74 61 62 6c 65 20 61 73 | non-por|table as|
|00005070| 70 65 63 74 73 20 6f 66 | 20 43 2e 0d 0d 2d 2d 20 |pects of| C...-- |
|00005080| 4d 61 72 73 68 61 6c 6c | 0d 0d 2d 2d 20 0d 4d 61 |Marshall|..-- .Ma|
|00005090| 72 73 68 61 6c 6c 20 43 | 6c 6f 77 0d 41 6c 61 64 |rshall C|low.Alad|
|000050a0| 64 69 6e 20 53 79 73 74 | 65 6d 73 0d 6d 63 6c 6f |din Syst|ems.mclo|
|000050b0| 77 40 73 61 6e 5f 6d 61 | 72 63 6f 73 2e 63 73 75 |w@san_ma|rcos.csu|
|000050c0| 73 6d 2e 65 64 75 0d 0d | 2b 2b 2b 2b 2b 2b 2b 2b |sm.edu..|++++++++|
|000050d0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000050e0| 2b 2b 2b 0d 0d 3e 46 72 | 6f 6d 20 62 65 63 6b 65 |+++..>Fr|om becke|
|000050f0| 72 40 58 65 6e 6f 6e 2e | 53 74 61 6e 66 6f 72 64 |r@Xenon.|Stanford|
|00005100| 2e 45 44 55 20 28 44 65 | 6e 69 7a 65 6e 20 6f 66 |.EDU (De|nizen of|
|00005110| 20 74 68 65 20 44 65 65 | 70 29 0d 44 61 74 65 3a | the Dee|p).Date:|
|00005120| 20 31 37 20 41 75 67 20 | 31 39 39 34 20 31 36 3a | 17 Aug |1994 16:|
|00005130| 32 32 3a 31 36 20 47 4d | 54 0d 4f 72 67 61 6e 69 |22:16 GM|T.Organi|
|00005140| 7a 61 74 69 6f 6e 3a 20 | 43 6f 6d 70 75 74 65 72 |zation: |Computer|
|00005150| 20 53 63 69 65 6e 63 65 | 20 44 65 70 61 72 74 6d | Science| Departm|
|00005160| 65 6e 74 2c 20 53 74 61 | 6e 66 6f 72 64 20 55 6e |ent, Sta|nford Un|
|00005170| 69 76 65 72 73 69 74 79 | 2e 0d 0d 49 6e 20 61 72 |iversity|...In ar|
|00005180| 74 69 63 6c 65 20 3c 6d | 63 6c 6f 77 2d 31 37 30 |ticle <m|clow-170|
|00005190| 38 39 34 30 30 35 33 33 | 32 30 30 30 31 40 6c 70 |89400533|20001@lp|
|000051a0| 6d 38 2e 63 73 75 73 6d | 2e 65 64 75 3e 2c 0d 4d |m8.csusm|.edu>,.M|
|000051b0| 61 72 73 68 61 6c 6c 20 | 43 6c 6f 77 20 3c 6d 63 |arshall |Clow <mc|
|000051c0| 6c 6f 77 40 73 61 6e 5f | 6d 61 72 63 6f 73 2e 63 |low@san_|marcos.c|
|000051d0| 73 75 73 6d 2e 65 64 75 | 3e 20 77 72 6f 74 65 3a |susm.edu|> wrote:|
|000051e0| 0d 3e 0d 3e 54 68 65 20 | 41 4e 53 49 20 73 70 65 |.>.>The |ANSI spe|
|000051f0| 63 20 28 66 72 6f 6d 20 | 6d 65 6d 6f 72 79 2c 20 |c (from |memory, |
|00005200| 73 6f 20 64 6f 6e 27 74 | 20 66 6c 61 6d 65 20 6d |so don't| flame m|
|00005210| 65 20 66 6f 72 20 77 6f | 72 64 61 67 65 29 20 73 |e for wo|rdage) s|
|00005220| 61 79 73 20 74 68 61 74 | 20 65 6e 75 6d 73 0d 3e |ays that| enums.>|
|00005230| 6d 75 73 74 20 62 65 20 | 22 63 6f 6d 70 61 74 69 |must be |"compati|
|00005240| 62 6c 65 20 77 69 74 68 | 20 69 6e 74 65 67 65 72 |ble with| integer|
|00005250| 20 74 79 70 65 22 2e 20 | 54 68 65 20 72 65 73 74 | type". |The rest|
|00005260| 20 69 73 20 75 70 20 74 | 6f 20 74 68 65 20 63 6f | is up t|o the co|
|00005270| 6d 70 69 6c 65 72 0d 3e | 77 72 69 74 65 72 2e 0d |mpiler.>|writer..|
|00005280| 3e 0d 3e 54 68 69 73 20 | 69 73 20 6f 6e 65 20 6f |>.>This |is one o|
|00005290| 66 20 74 68 65 20 6e 6f | 6e 2d 70 6f 72 74 61 62 |f the no|n-portab|
|000052a0| 6c 65 20 61 73 70 65 63 | 74 73 20 6f 66 20 43 2e |le aspec|ts of C.|
|000052b0| 0d 3e 0d 3e 2d 2d 20 4d | 61 72 73 68 61 6c 6c 0d |.>.>-- M|arshall.|
|000052c0| 3e 0d 0d 3e 46 72 6f 6d | 20 4b 26 52 20 49 49 2c |>..>From| K&R II,|
|000052d0| 20 41 38 2e 34 3a 0d 09 | 54 68 65 20 69 64 65 6e | A8.4:..|The iden|
|000052e0| 74 69 66 69 65 72 73 20 | 69 6e 20 61 6e 20 65 6e |tifiers |in an en|
|000052f0| 75 6d 65 72 61 74 6f 72 | 20 6c 69 73 74 20 61 72 |umerator| list ar|
|00005300| 65 20 64 65 63 6c 61 72 | 65 64 20 61 73 20 63 6f |e declar|ed as co|
|00005310| 6e 73 74 61 6e 74 73 0d | 09 6f 66 20 74 79 70 65 |nstants.|.of type|
|00005320| 20 69 6e 74 2e 2e 2e 0d | 0d 53 6f 20 74 68 65 72 | int....|.So ther|
|00005330| 65 20 79 6f 75 20 68 61 | 76 65 20 69 74 2e 20 20 |e you ha|ve it. |
|00005340| 49 6e 20 73 74 72 69 63 | 74 20 41 4e 53 49 20 43 |In stric|t ANSI C|
|00005350| 2c 20 65 6e 75 6d 73 20 | 73 68 6f 75 6c 64 20 74 |, enums |should t|
|00005360| 61 6b 65 20 75 70 20 74 | 68 65 20 73 61 6d 65 0d |ake up t|he same.|
|00005370| 73 70 61 63 65 20 61 73 | 20 61 6e 20 69 6e 74 20 |space as| an int |
|00005380| 6f 6e 20 74 68 65 20 6d | 61 63 68 69 6e 65 20 28 |on the m|achine (|
|00005390| 69 2e 65 2e 20 32 20 6f | 72 20 34 20 62 79 74 65 |i.e. 2 o|r 4 byte|
|000053a0| 73 2c 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 20 |s, depen|ding on |
|000053b0| 79 6f 75 72 0d 73 65 74 | 74 69 6e 67 73 20 61 6e |your.set|tings an|
|000053c0| 64 2f 6f 72 20 63 6f 6d | 70 69 6c 65 72 29 2e 20 |d/or com|piler). |
|000053d0| 20 49 74 27 73 20 6f 6e | 6c 79 20 6e 6f 6e 2d 70 | It's on|ly non-p|
|000053e0| 6f 72 74 61 62 6c 65 20 | 69 6e 20 74 68 65 20 73 |ortable |in the s|
|000053f0| 65 6e 73 65 20 74 68 61 | 74 0d 64 69 66 66 65 72 |ense tha|t.differ|
|00005400| 65 6e 74 20 63 6f 6d 70 | 69 6c 65 72 73 20 6d 61 |ent comp|ilers ma|
|00005410| 79 20 68 61 76 65 20 64 | 69 66 66 65 72 65 6e 74 |y have d|ifferent|
|00005420| 20 73 69 7a 65 73 20 66 | 6f 72 20 69 6e 74 3b 20 | sizes f|or int; |
|00005430| 68 6f 77 65 76 65 72 20 | 6f 6e 63 65 20 74 68 65 |however |once the|
|00005440| 0d 63 68 6f 69 63 65 20 | 6f 66 20 69 6e 74 20 73 |.choice |of int s|
|00005450| 69 7a 65 20 69 73 20 6d | 61 64 65 2c 20 74 68 65 |ize is m|ade, the|
|00005460| 72 65 20 69 73 20 6e 6f | 20 6c 61 74 69 74 75 64 |re is no| latitud|
|00005470| 65 20 66 6f 72 20 63 68 | 6f 6f 73 69 6e 67 20 68 |e for ch|oosing h|
|00005480| 6f 77 20 74 6f 0d 64 65 | 61 6c 20 77 69 74 68 20 |ow to.de|al with |
|00005490| 65 6e 75 6d 73 2e 0d 0d | 2d 4a 6f 6e 0d 0d 2b 2b |enums...|-Jon..++|
|000054a0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000054b0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 0d 0d 3e 46 72 6f 6d |++++++++|+..>From|
|000054c0| 20 4c 61 72 73 2e 46 61 | 72 6d 40 6e 74 73 2e 6d | Lars.Fa|rm@nts.m|
|000054d0| 68 2e 73 65 20 28 4c 61 | 72 73 20 46 61 72 6d 29 |h.se (La|rs Farm)|
|000054e0| 0d 44 61 74 65 3a 20 46 | 72 69 2c 20 31 39 20 41 |.Date: F|ri, 19 A|
|000054f0| 75 67 20 31 39 39 34 20 | 31 30 3a 30 38 3a 31 32 |ug 1994 |10:08:12|
|00005500| 20 2b 30 31 30 30 0d 4f | 72 67 61 6e 69 7a 61 74 | +0100.O|rganizat|
|00005510| 69 6f 6e 3a 20 4d 69 64 | 20 53 77 65 64 65 6e 20 |ion: Mid| Sweden |
|00005520| 55 6e 69 76 65 72 73 69 | 74 79 0d 0d 49 6e 20 61 |Universi|ty..In a|
|00005530| 72 74 69 63 6c 65 20 3c | 33 32 74 64 66 6f 24 67 |rticle <|32tdfo$g|
|00005540| 6e 32 40 54 69 6d 65 73 | 2e 53 74 61 6e 66 6f 72 |n2@Times|.Stanfor|
|00005550| 64 2e 45 44 55 3e 2c 20 | 62 65 63 6b 65 72 40 58 |d.EDU>, |becker@X|
|00005560| 65 6e 6f 6e 2e 53 74 61 | 6e 66 6f 72 64 2e 45 44 |enon.Sta|nford.ED|
|00005570| 55 0d 28 44 65 6e 69 7a | 65 6e 20 6f 66 20 74 68 |U.(Deniz|en of th|
|00005580| 65 20 44 65 65 70 29 20 | 77 72 6f 74 65 3a 0d 0d |e Deep) |wrote:..|
|00005590| 3e 20 46 72 6f 6d 20 4b | 26 52 20 49 49 2c 20 41 |> From K|&R II, A|
|000055a0| 38 2e 34 3a 0d 3e 20 20 | 20 20 20 20 20 20 20 54 |8.4:.> | T|
|000055b0| 68 65 20 69 64 65 6e 74 | 69 66 69 65 72 73 20 69 |he ident|ifiers i|
|000055c0| 6e 20 61 6e 20 65 6e 75 | 6d 65 72 61 74 6f 72 20 |n an enu|merator |
|000055d0| 6c 69 73 74 20 61 72 65 | 20 64 65 63 6c 61 72 65 |list are| declare|
|000055e0| 64 20 61 73 20 63 6f 6e | 73 74 61 6e 74 73 0d 3e |d as con|stants.>|
|000055f0| 20 20 20 20 20 20 20 20 | 20 6f 66 20 74 79 70 65 | | of type|
|00005600| 20 69 6e 74 2e 2e 2e 0d | 3e 20 0d 3e 20 53 6f 20 | int....|> .> So |
|00005610| 74 68 65 72 65 20 79 6f | 75 20 68 61 76 65 20 69 |there yo|u have i|
|00005620| 74 2e 20 20 49 6e 20 73 | 74 72 69 63 74 20 41 4e |t. In s|trict AN|
|00005630| 53 49 20 43 2c 20 65 6e | 75 6d 73 20 73 68 6f 75 |SI C, en|ums shou|
|00005640| 6c 64 20 74 61 6b 65 20 | 75 70 20 74 68 65 20 73 |ld take |up the s|
|00005650| 61 6d 65 0d 3e 20 73 70 | 61 63 65 20 61 73 20 61 |ame.> sp|ace as a|
|00005660| 6e 20 69 6e 74 20 6f 6e | 20 74 68 65 20 6d 61 63 |n int on| the mac|
|00005670| 68 69 6e 65 20 28 69 2e | 65 2e 20 32 20 6f 72 20 |hine (i.|e. 2 or |
|00005680| 34 20 62 79 74 65 73 2c | 20 64 65 70 65 6e 64 69 |4 bytes,| dependi|
|00005690| 6e 67 20 6f 6e 20 79 6f | 75 72 0d 0d 49 6e 20 43 |ng on yo|ur..In C|
|000056a0| 20 70 65 72 68 61 70 73 | 2c 20 62 75 74 20 6e 6f | perhaps|, but no|
|000056b0| 74 20 73 6f 20 69 6e 20 | 43 2b 2b 2e 20 65 6e 75 |t so in |C++. enu|
|000056c0| 6d 20 69 73 20 6e 6f 74 | 20 69 6e 74 2e 20 41 6e |m is not| int. An|
|000056d0| 20 65 6e 75 6d 20 63 61 | 6e 20 62 65 0d 69 6e 69 | enum ca|n be.ini|
|000056e0| 74 69 61 6c 69 7a 65 64 | 20 62 79 20 61 20 63 6f |tialized| by a co|
|000056f0| 6e 73 74 61 6e 74 20 65 | 78 70 72 65 73 73 69 6f |nstant e|xpressio|
|00005700| 6e 20 6f 66 20 69 6e 74 | 65 67 72 61 6c 20 74 79 |n of int|egral ty|
|00005710| 70 65 2e 20 41 6e 20 65 | 6e 75 6d 20 77 69 6c 6c |pe. An e|num will|
|00005720| 0d 73 69 6c 65 6e 74 6c | 79 20 62 65 20 63 6f 6e |.silentl|y be con|
|00005730| 76 65 72 74 65 64 20 74 | 6f 20 61 6e 20 69 6e 74 |verted t|o an int|
|00005740| 20 77 68 65 72 65 20 61 | 6e 20 69 6e 74 20 69 73 | where a|n int is|
|00005750| 20 65 78 70 65 63 74 65 | 64 20 28 7c 2c 20 26 2c | expecte|d (|, &,|
|00005760| 20 2b 20 2e 2e 2e 29 20 | 62 75 74 0d 61 6e 20 69 | + ...) |but.an i|
|00005770| 6e 74 20 77 69 6c 6c 20 | 6e 6f 74 20 73 69 6c 65 |nt will |not sile|
|00005780| 6e 74 6c 79 20 62 65 20 | 63 6f 6e 76 65 72 74 65 |ntly be |converte|
|00005790| 64 20 74 6f 20 61 6e 20 | 65 6e 75 6d 2c 20 62 65 |d to an |enum, be|
|000057a0| 63 61 75 73 65 20 6e 6f | 74 68 69 6e 67 20 73 61 |cause no|thing sa|
|000057b0| 79 73 20 69 74 0d 77 69 | 6c 6c 20 66 69 74 20 69 |ys it.wi|ll fit i|
|000057c0| 6e 20 74 68 65 20 73 70 | 61 63 65 20 61 6c 6c 6f |n the sp|ace allo|
|000057d0| 63 61 74 65 64 20 66 6f | 72 20 74 68 65 20 65 6e |cated fo|r the en|
|000057e0| 75 6d 2e 20 43 61 73 74 | 20 6e 65 65 64 65 64 2e |um. Cast| needed.|
|000057f0| 0d 0d 41 6e 20 65 6e 75 | 6d 20 69 73 20 72 65 71 |..An enu|m is req|
|00005800| 75 69 72 65 64 20 74 6f | 20 68 61 76 65 20 72 6f |uired to| have ro|
|00005810| 6f 6d 20 66 6f 72 20 22 | 2e 2e 2e 74 68 65 20 6e |om for "|...the n|
|00005820| 65 61 72 65 73 74 20 6c | 61 72 67 65 72 20 62 69 |earest l|arger bi|
|00005830| 6e 61 72 79 20 70 6f 77 | 65 72 0d 6d 69 6e 75 73 |nary pow|er.minus|
|00005840| 20 31 20 61 6e 64 20 64 | 6f 77 6e 20 74 6f 20 30 | 1 and d|own to 0|
|00005850| 2e 2e 2e 22 2e 20 53 6f | 20 65 6e 75 6d 20 7b 20 |...". So| enum { |
|00005860| 66 61 6c 73 65 2c 74 72 | 75 65 20 7d 20 69 73 20 |false,tr|ue } is |
|00005870| 6f 6e 6c 79 20 72 65 71 | 75 69 72 65 64 20 74 6f |only req|uired to|
|00005880| 0d 61 6c 6c 6f 63 61 74 | 65 20 6f 6e 65 20 62 69 |.allocat|e one bi|
|00005890| 74 20 66 6f 72 20 74 68 | 65 20 76 61 6c 75 65 2e |t for th|e value.|
|000058a0| 20 5b 41 52 4d 20 2d 20 | 41 4e 53 49 2f 49 53 4f | [ARM - |ANSI/ISO|
|000058b0| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 73 20 72 2e 37 | resolut|ions r.7|
|000058c0| 2e 32 5d 2e 0d 52 65 61 | 6c 69 73 74 69 63 61 6c |.2]..Rea|listical|
|000058d0| 6c 79 20 74 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |ly this |means th|
|000058e0| 61 74 20 61 6e 20 65 6e | 75 6d 20 77 69 6c 6c 20 |at an en|um will |
|000058f0| 62 65 20 61 6c 6c 6f 63 | 61 74 65 64 20 31 2c 20 |be alloc|ated 1, |
|00005900| 32 20 6f 72 20 34 20 62 | 79 74 65 73 0d 64 65 70 |2 or 4 b|ytes.dep|
|00005910| 65 6e 64 69 6e 67 20 6f | 6e 20 65 6e 75 6d 65 72 |ending o|n enumer|
|00005920| 61 74 65 64 20 63 6f 6e | 73 74 61 6e 74 73 20 61 |ated con|stants a|
|00005930| 6e 64 20 77 68 61 74 65 | 76 65 72 20 74 68 65 20 |nd whate|ver the |
|00005940| 63 6f 6d 70 69 6c 65 72 | 73 20 61 75 74 68 6f 72 |compiler|s author|
|00005950| 20 73 65 65 73 0d 72 65 | 61 73 6f 6e 61 62 6c 65 | sees.re|asonable|
|00005960| 2e 20 49 6e 20 61 6e 79 | 20 65 76 65 6e 74 20 74 |. In any| event t|
|00005970| 68 65 20 73 70 61 63 65 | 20 61 6c 6c 6f 63 61 74 |he space| allocat|
|00005980| 65 64 20 74 6f 20 61 6e | 20 65 6e 75 6d 20 6d 61 |ed to an| enum ma|
|00005990| 79 20 62 65 20 73 6d 61 | 6c 6c 65 72 0d 74 68 61 |y be sma|ller.tha|
|000059a0| 6e 20 77 68 61 74 20 69 | 73 20 6e 65 65 64 65 64 |n what i|s needed|
|000059b0| 20 66 6f 72 20 61 6e 20 | 69 6e 74 20 70 72 6f 76 | for an |int prov|
|000059c0| 69 64 65 64 20 69 74 20 | 68 61 73 20 72 6f 6f 6d |ided it |has room|
|000059d0| 20 66 6f 72 20 61 6e 79 | 20 6f 66 20 74 68 65 20 | for any| of the |
|000059e0| 65 6e 75 6d 0d 63 6f 6e | 73 74 61 6e 74 73 2e 0d |enum.con|stants..|
|000059f0| 0d 4c 61 72 73 0d 0d 2d | 2d 20 0d 4c 61 72 73 2e |.Lars..-|- .Lars.|
|00005a00| 46 61 72 6d 40 6e 74 73 | 2e 6d 68 2e 73 65 0d 0d |Farm@nts|.mh.se..|
|00005a10| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005a20| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|00005a30| 6f 6d 20 70 68 69 6c 73 | 40 62 65 64 66 6f 72 64 |om phils|@bedford|
|00005a40| 2e 73 79 6d 61 6e 74 65 | 63 2e 63 6f 6d 20 28 50 |.symante|c.com (P|
|00005a50| 68 69 6c 20 53 68 61 70 | 69 72 6f 29 0d 44 61 74 |hil Shap|iro).Dat|
|00005a60| 65 3a 20 46 72 69 2c 20 | 31 39 20 41 75 67 20 31 |e: Fri, |19 Aug 1|
|00005a70| 39 39 34 20 31 32 3a 33 | 36 3a 35 31 20 2d 30 34 |994 12:3|6:51 -04|
|00005a80| 30 30 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|00005a90| 20 53 79 6d 61 6e 74 65 | 63 20 43 6f 72 70 2e 0d | Symante|c Corp..|
|00005aa0| 0d 7c 20 4e 6f 2e 20 44 | 69 66 66 65 72 65 6e 74 |.| No. D|ifferent|
|00005ab0| 20 63 6f 6d 70 69 6c 65 | 72 73 20 61 6c 6c 6f 63 | compile|rs alloc|
|00005ac0| 61 74 65 64 20 73 69 7a | 65 73 20 66 6f 72 20 65 |ated siz|es for e|
|00005ad0| 6e 75 6d 73 20 64 69 66 | 66 65 72 65 6e 74 6c 79 |nums dif|ferently|
|00005ae0| 2e 20 49 20 62 65 6c 69 | 65 76 65 0d 7c 20 74 68 |. I beli|eve.| th|
|00005af0| 61 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |at the f|ollowing|
|00005b00| 20 69 73 20 74 72 75 65 | 3a 0d 0d 4f 6e 6c 79 20 | is true|:..Only |
|00005b10| 73 6c 69 67 68 74 6c 79 | 20 6f 66 66 2c 20 77 69 |slightly| off, wi|
|00005b20| 74 68 20 72 65 73 70 65 | 63 74 20 74 6f 20 22 65 |th respe|ct to "e|
|00005b30| 6e 75 6d 73 20 61 72 65 | 20 61 6c 77 61 79 73 20 |nums are| always |
|00005b40| 69 6e 74 73 22 2c 20 73 | 65 65 20 62 65 6c 6f 77 |ints", s|ee below|
|00005b50| 2a 2e 0d 0d 7c 20 31 29 | 20 4d 50 57 20 43 20 28 |*...| 1)| MPW C (|
|00005b60| 36 38 4b 29 20 2d 2d 20 | 65 6e 75 6d 73 20 61 72 |68K) -- |enums ar|
|00005b70| 65 20 34 20 62 79 74 65 | 73 0d 7c 20 0d 7c 20 32 |e 4 byte|s.| .| 2|
|00005b80| 29 20 54 68 69 6e 6b 20 | 43 20 28 36 38 4b 29 20 |) Think |C (68K) |
|00005b90| 2d 2d 20 65 6e 75 6d 73 | 20 61 72 65 20 31 2c 20 |-- enums| are 1, |
|00005ba0| 32 2c 20 6f 72 20 34 20 | 62 79 74 65 73 20 28 62 |2, or 4 |bytes (b|
|00005bb0| 61 73 65 64 20 6f 6e 20 | 76 61 6c 75 65 73 29 20 |ased on |values) |
|00005bc0| 65 78 63 65 70 74 20 69 | 66 0d 7c 20 74 68 65 20 |except i|f.| the |
|00005bd0| 22 45 6e 75 6d 73 20 61 | 72 65 20 61 6c 77 61 79 |"Enums a|re alway|
|00005be0| 73 20 69 6e 74 73 22 20 | 70 72 65 66 65 72 65 6e |s ints" |preferen|
|00005bf0| 63 65 20 69 73 20 63 68 | 65 63 6b 65 64 2c 20 69 |ce is ch|ecked, i|
|00005c00| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00005c10| 79 20 61 72 65 0d 7c 20 | 32 20 6f 72 20 34 20 62 |y are.| |2 or 4 b|
|00005c20| 79 74 65 73 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |ytes dep|ending o|
|00005c30| 6e 20 68 6f 77 20 62 69 | 67 20 79 6f 75 72 20 69 |n how bi|g your i|
|00005c40| 6e 74 73 20 61 72 65 2e | 0d 7c 20 0d 7c 20 33 29 |nts are.|.| .| 3)|
|00005c50| 20 4d 65 74 72 6f 77 65 | 72 6b 73 20 43 20 28 36 | Metrowe|rks C (6|
|00005c60| 38 4b 29 20 2d 2d 20 73 | 61 6d 65 20 61 73 20 54 |8K) -- s|ame as T|
|00005c70| 68 69 6e 6b 20 43 20 28 | 36 38 4b 29 2e 0d 7c 20 |hink C (|68K)..| |
|00005c80| 0d 7c 20 34 29 20 4d 65 | 74 72 6f 77 65 72 6b 73 |.| 4) Me|trowerks|
|00005c90| 20 43 20 28 50 50 43 29 | 20 2d 2d 20 65 6e 75 6d | C (PPC)| -- enum|
|00005ca0| 73 20 61 72 65 20 31 2c | 20 32 2c 20 6f 72 20 34 |s are 1,| 2, or 4|
|00005cb0| 20 62 79 74 65 73 20 28 | 62 61 73 65 64 20 6f 6e | bytes (|based on|
|00005cc0| 20 76 61 6c 75 65 73 29 | 0d 7c 20 65 78 63 65 70 | values)|.| excep|
|00005cd0| 74 20 69 66 20 74 68 65 | 20 22 45 6e 75 6d 73 20 |t if the| "Enums |
|00005ce0| 61 72 65 20 61 6c 77 61 | 79 73 20 69 6e 74 73 22 |are alwa|ys ints"|
|00005cf0| 20 70 72 65 66 65 72 65 | 6e 63 65 20 69 73 20 63 | prefere|nce is c|
|00005d00| 68 65 63 6b 65 64 2c 20 | 69 6e 20 77 68 69 63 68 |hecked, |in which|
|00005d10| 20 63 61 73 65 0d 7c 20 | 74 68 65 79 20 61 72 65 | case.| |they are|
|00005d20| 20 34 20 62 79 74 65 73 | 2e 0d 7c 20 0d 7c 20 35 | 4 bytes|..| .| 5|
|00005d30| 29 20 50 50 43 43 20 28 | 41 70 70 6c 65 27 73 20 |) PPCC (|Apple's |
|00005d40| 4d 50 57 20 62 61 73 65 | 64 20 50 50 43 20 63 6f |MPW base|d PPC co|
|00005d50| 6d 70 69 6c 65 72 29 20 | 2d 2d 20 49 20 64 6f 6e |mpiler) |-- I don|
|00005d60| 27 74 20 6b 6e 6f 77 2e | 0d 7c 20 36 29 20 41 70 |'t know.|.| 6) Ap|
|00005d70| 70 6c 65 27 73 20 6e 65 | 77 20 50 50 43 20 43 20 |ple's ne|w PPC C |
|00005d80| 63 6f 6d 70 69 6c 65 72 | 20 28 42 65 74 61 20 6f |compiler| (Beta o|
|00005d90| 6e 20 45 54 4f 20 23 31 | 35 29 20 2d 2d 20 49 20 |n ETO #1|5) -- I |
|00005da0| 64 6f 6e 27 74 20 6b 6e | 6f 77 0d 7c 20 37 29 20 |don't kn|ow.| 7) |
|00005db0| 4d 6f 74 6f 72 6f 6c 61 | 20 43 20 28 50 50 43 29 |Motorola| C (PPC)|
|00005dc0| 20 2d 2d 20 49 20 64 6f | 6e 27 74 20 6b 6e 6f 77 | -- I do|n't know|
|00005dd0| 0d 7c 20 38 29 20 41 62 | 73 6f 66 74 20 43 20 28 |.| 8) Ab|soft C (|
|00005de0| 50 50 43 29 20 2d 2d 20 | 49 20 64 6f 6e 27 74 20 |PPC) -- |I don't |
|00005df0| 6b 6e 6f 77 0d 0d 39 29 | 20 53 79 6d 61 6e 74 65 |know..9)| Symante|
|00005e00| 63 20 43 2f 43 2b 2b 20 | 2d 2d 20 65 6e 75 6d 73 |c C/C++ |-- enums|
|00005e10| 20 61 72 65 20 31 2c 20 | 32 2c 20 6f 72 20 34 20 | are 1, |2, or 4 |
|00005e20| 62 79 74 65 73 20 62 61 | 73 65 64 20 6f 6e 20 76 |bytes ba|sed on v|
|00005e30| 61 6c 75 65 73 2e 20 49 | 66 20 65 6e 75 6d 73 0d |alues. I|f enums.|
|00005e40| 61 72 65 20 61 6c 77 61 | 79 73 20 69 6e 74 73 20 |are alwa|ys ints |
|00005e50| 69 73 20 63 68 65 63 6b | 65 64 2c 20 74 68 65 6e |is check|ed, then|
|00005e60| 20 74 68 65 79 20 61 72 | 65 20 34 20 62 79 74 65 | they ar|e 4 byte|
|00005e70| 73 2e 20 54 68 65 20 72 | 75 6c 65 73 20 61 72 65 |s. The r|ules are|
|00005e80| 20 74 68 65 20 73 61 6d | 65 0d 66 6f 72 20 62 6f | the sam|e.for bo|
|00005e90| 74 68 20 74 68 65 20 36 | 38 6b 20 61 6e 64 20 50 |th the 6|8k and P|
|00005ea0| 6f 77 65 72 50 43 20 63 | 6f 6d 70 69 6c 65 72 73 |owerPC c|ompilers|
|00005eb0| 2e 0d 0d 41 70 70 6c 65 | 27 73 20 6e 65 77 20 50 |...Apple|'s new P|
|00005ec0| 50 43 20 43 2b 2b 20 63 | 6f 6d 70 69 6c 65 72 20 |PC C++ c|ompiler |
|00005ed0| 28 61 6b 61 20 4d 72 43 | 29 20 73 68 6f 75 6c 64 |(aka MrC|) should|
|00005ee0| 20 62 65 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 | be the |same as |
|00005ef0| 53 79 6d 61 6e 74 65 63 | 20 43 2b 2b 2c 0d 73 69 |Symantec| C++,.si|
|00005f00| 6e 63 65 20 74 68 65 79 | 20 73 68 61 72 65 20 63 |nce they| share c|
|00005f10| 6f 6d 70 69 6c 65 72 20 | 66 72 6f 6e 74 20 65 6e |ompiler |front en|
|00005f20| 64 73 2e 0d 0d 28 2a 29 | 20 49 6e 20 41 4e 53 49 |ds...(*)| In ANSI|
|00005f30| 20 43 2c 20 65 6e 75 6d | 73 20 61 72 65 20 74 68 | C, enum|s are th|
|00005f40| 65 20 73 61 6d 65 20 73 | 69 7a 65 20 61 73 20 69 |e same s|ize as i|
|00005f50| 6e 74 2c 20 70 72 6f 76 | 69 64 65 64 20 74 68 61 |nt, prov|ided tha|
|00005f60| 74 20 74 68 65 20 76 61 | 6c 75 65 0d 74 68 61 74 |t the va|lue.that|
|00005f70| 20 74 68 65 79 20 63 6f | 6e 74 61 69 6e 20 63 61 | they co|ntain ca|
|00005f80| 6e 20 62 65 20 72 65 70 | 72 65 73 65 6e 74 65 64 |n be rep|resented|
|00005f90| 20 69 6e 20 61 6e 20 69 | 6e 74 2e 20 53 6f 20 77 | in an i|nt. So w|
|00005fa0| 68 65 6e 20 79 6f 75 20 | 75 73 65 20 74 68 65 20 |hen you |use the |
|00005fb0| 22 65 6e 75 6d 73 0d 61 | 72 65 20 61 6c 77 61 79 |"enums.a|re alway|
|00005fc0| 73 20 69 6e 74 73 22 20 | 6f 70 74 69 6f 6e 2c 20 |s ints" |option, |
|00005fd0| 79 6f 75 27 72 65 20 72 | 65 61 6c 6c 79 20 73 61 |you're r|eally sa|
|00005fe0| 79 69 6e 67 20 74 68 61 | 74 20 74 68 65 79 27 72 |ying tha|t they'r|
|00005ff0| 65 20 61 74 20 6c 65 61 | 73 74 20 61 73 20 62 69 |e at lea|st as bi|
|00006000| 67 0d 61 73 20 61 6e 20 | 69 6e 74 2e 20 54 68 65 |g.as an |int. The|
|00006010| 79 20 63 61 6e 20 62 65 | 20 62 69 67 67 65 72 2c |y can be| bigger,|
|00006020| 20 6f 72 20 75 6e 73 69 | 67 6e 65 64 20 28 6f 72 | or unsi|gned (or|
|00006030| 20 62 6f 74 68 29 2c 20 | 64 65 70 65 6e 64 69 6e | both), |dependin|
|00006040| 67 20 6f 6e 20 74 68 65 | 0d 76 61 6c 75 65 20 74 |g on the|.value t|
|00006050| 68 61 74 20 74 68 65 79 | 20 63 6f 6e 74 61 69 6e |hat they| contain|
|00006060| 2e 0d 0d 54 68 65 20 6d | 61 69 6e 20 74 68 69 6e |...The m|ain thin|
|00006070| 67 20 69 73 20 74 68 61 | 74 20 79 6f 75 20 73 68 |g is tha|t you sh|
|00006080| 6f 75 6c 64 6e 27 74 20 | 64 65 70 65 6e 64 20 6f |ouldn't |depend o|
|00006090| 6e 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 61 6e |n the si|ze of an|
|000060a0| 20 65 6e 75 6d 2e 20 49 | 66 20 79 6f 75 0d 70 6c | enum. I|f you.pl|
|000060b0| 61 6e 20 74 6f 20 64 6f | 20 49 2f 4f 20 77 69 74 |an to do| I/O wit|
|000060c0| 68 20 61 6e 20 65 6e 75 | 6d 2c 20 63 61 73 74 20 |h an enu|m, cast |
|000060d0| 69 74 20 74 6f 20 61 20 | 6b 6e 6f 77 6e 20 28 70 |it to a |known (p|
|000060e0| 6f 72 74 61 62 6c 65 29 | 20 74 79 70 65 20 66 69 |ortable)| type fi|
|000060f0| 72 73 74 2e 0d 0d 20 20 | 20 2d 70 68 69 6c 0d 0d |rst... | -phil..|
|00006100| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00006110| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|00006120| 6f 6d 20 61 66 72 61 6e | 63 6b 65 40 6e 65 74 63 |om afran|cke@netc|
|00006130| 6f 6d 2e 63 6f 6d 20 28 | 41 6e 64 72 65 77 20 46 |om.com (|Andrew F|
|00006140| 72 61 6e 63 6b 65 29 0d | 44 61 74 65 3a 20 46 72 |rancke).|Date: Fr|
|00006150| 69 2c 20 31 39 20 41 75 | 67 20 31 39 39 34 20 32 |i, 19 Au|g 1994 2|
|00006160| 31 3a 31 36 3a 32 39 20 | 47 4d 54 0d 4f 72 67 61 |1:16:29 |GMT.Orga|
|00006170| 6e 69 7a 61 74 69 6f 6e | 3a 20 4e 65 74 63 6f 6d |nization|: Netcom|
|00006180| 20 4f 6e 6c 69 6e 65 20 | 43 6f 6d 6d 75 6e 69 63 | Online |Communic|
|00006190| 61 74 69 6f 6e 73 20 53 | 65 72 76 69 63 65 73 20 |ations S|ervices |
|000061a0| 28 34 30 38 2d 32 34 31 | 2d 39 37 36 30 20 6c 6f |(408-241|-9760 lo|
|000061b0| 67 69 6e 3a 20 67 75 65 | 73 74 29 0d 0d 3e 20 54 |gin: gue|st)..> T|
|000061c0| 68 65 20 6d 61 69 6e 20 | 74 68 69 6e 67 20 69 73 |he main |thing is|
|000061d0| 20 74 68 61 74 20 79 6f | 75 20 73 68 6f 75 6c 64 | that yo|u should|
|000061e0| 6e 27 74 20 64 65 70 65 | 6e 64 20 6f 6e 20 74 68 |n't depe|nd on th|
|000061f0| 65 20 73 69 7a 65 20 6f | 66 20 61 6e 20 65 6e 75 |e size o|f an enu|
|00006200| 6d 2e 20 49 66 0d 3e 20 | 79 6f 75 20 70 6c 61 6e |m. If.> |you plan|
|00006210| 20 74 6f 20 64 6f 20 49 | 2f 4f 20 77 69 74 68 20 | to do I|/O with |
|00006220| 61 6e 20 65 6e 75 6d 2c | 20 63 61 73 74 20 69 74 |an enum,| cast it|
|00006230| 20 74 6f 20 61 20 6b 6e | 6f 77 6e 20 28 70 6f 72 | to a kn|own (por|
|00006240| 74 61 62 6c 65 29 20 74 | 79 70 65 20 66 69 72 73 |table) t|ype firs|
|00006250| 74 2e 0d 3e 20 20 2d 70 | 68 69 6c 0d 0d 49 27 6d |t..> -p|hil..I'm|
|00006260| 20 61 66 72 61 69 64 20 | 74 68 69 73 20 69 73 20 | afraid |this is |
|00006270| 61 20 6d 6f 6f 74 20 70 | 6f 69 6e 74 20 69 6e 20 |a moot p|oint in |
|00006280| 6d 79 20 63 61 73 65 2e | 20 49 27 76 65 20 61 6c |my case.| I've al|
|00006290| 72 65 61 64 79 20 67 6f | 74 20 61 20 73 69 7a 61 |ready go|t a siza|
|000062a0| 62 6c 65 0d 61 6d 6f 75 | 6e 74 20 6f 66 20 41 53 |ble.amou|nt of AS|
|000062b0| 4e 2e 31 2d 63 6f 6d 70 | 69 6c 65 72 2d 67 65 6e |N.1-comp|iler-gen|
|000062c0| 65 72 61 74 65 64 20 43 | 20 73 6f 75 72 63 65 20 |erated C| source |
|000062d0| 77 69 74 68 20 65 6e 75 | 6d 73 20 61 27 70 6c 65 |with enu|ms a'ple|
|000062e0| 6e 74 79 20 69 6e 0d 73 | 74 72 75 74 75 72 65 20 |nty in.s|truture |
|000062f0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 2e 0d 0d 49 |declarat|ions...I|
|00006300| 27 6c 6c 20 73 74 61 74 | 65 20 6d 79 20 71 75 65 |'ll stat|e my que|
|00006310| 73 74 69 6f 6e 20 61 67 | 61 69 6e 3a 0d 47 49 56 |stion ag|ain:.GIV|
|00006320| 45 4e 20 54 48 45 20 52 | 49 47 48 54 20 53 45 54 |EN THE R|IGHT SET|
|00006330| 20 4f 46 20 43 4f 4d 50 | 49 4c 45 52 20 4f 50 54 | OF COMP|ILER OPT|
|00006340| 49 4f 4e 53 2c 20 69 73 | 20 6e 6f 74 20 74 68 65 |IONS, is| not the|
|00006350| 20 4c 43 44 20 6f 66 20 | 65 6e 75 6d 20 73 69 7a | LCD of |enum siz|
|00006360| 65 73 0d 74 68 65 20 31 | 2d 32 2d 34 20 70 61 63 |es.the 1|-2-4 pac|
|00006370| 6b 69 6e 67 20 73 63 68 | 65 6d 65 3f 20 49 20 79 |king sch|eme? I y|
|00006380| 65 74 20 6c 61 62 6f 72 | 20 75 6e 64 65 72 20 74 |et labor| under t|
|00006390| 68 65 20 69 6d 70 72 65 | 73 73 69 6f 6e 20 74 68 |he impre|ssion th|
|000063a0| 61 74 20 4d 50 57 20 43 | 0d 64 6f 65 73 6e 27 74 |at MPW C|.doesn't|
|000063b0| 20 65 76 65 6e 20 73 75 | 70 70 6f 72 74 20 22 65 | even su|pport "e|
|000063c0| 6e 75 6d 73 20 61 72 65 | 20 69 6e 74 73 22 20 61 |nums are| ints" a|
|000063d0| 73 20 61 6e 20 6f 70 74 | 69 6f 6e 2e 0d 0d 2d 2d |s an opt|ion...--|
|000063e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000063f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 3e 46 72 6f 6d |--------|-..>From|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.